/*
 * Copyright (c) 2010, Oracle. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * * Redistributions of source code must retain the above copyright notice,
 *   this list of conditions and the following disclaimer.
 *
 * * Redistributions in binary form must reproduce the above copyright notice,
 *   this list of conditions and the following disclaimer in the documentation
 *   and/or other materials provided with the distribution.
 *
 * * Neither the name of Oracle nor the names of its contributors
 *   may be used to endorse or promote products derived from this software without
 *   specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 */

/*
 * This project belongs to group 16B in Informatik A, 2013
 * Group 16B: Jonathan Ström, Christoffer Johansson och Markus Sjöö
 * 
 */
package pkg16b_eca;

import java.awt.Color;
import java.util.logging.Level;
import java.util.logging.Logger;
import pkg16b_eca.SQL.SQLCollection;
import pkg16b_eca.data.validate.Text;
import pkg16b_eca.data.validate.Validate;
import se.oru.informatik.InformatikException;

public class ECA extends javax.swing.JFrame {

    public final static String newLine = "\r\n"; //Variable that you can use if you want a new line in a string.
    protected final SQLCollection SQL;
    private final ECAFunctions F;
    
    /**
     * Creates new form
     */
    public ECA() throws InformatikException {
        initComponents();
        SQL = new SQLCollection();
        F = new ECAFunctions(this);
    }
    
    public void RepaintThisShit() {
        if (Menu.getSelectedIndex() == Menu.indexOfTab("Sök och matcha") && (btnBackToSearchEngine.isVisible() == true || btnResetSokOchMatchaMatcha.isVisible() == true)) {
            invalidate();
            validate();
            btnBackToSearchEngine.repaint();
            BackToSearchResult.repaint();
        }
        //This method tries to fix graphical glitches in the toptab "Sök Och Matcha" relating to "Sök" och "Matcha" tabs.
    }
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        jInternalFrame1 = new javax.swing.JInternalFrame();
        Menu = new javax.swing.JTabbedPane();
        jPanStartsida = new javax.swing.JPanel();
        jLblProduktion = new java.awt.Label();
        jLblTillsattSkadespelare = new java.awt.Label();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jlblSkadespelareTillRoll = new java.awt.Label();
        jLblSkadespelare = new java.awt.Label();
        jLblTillsattSkadespelare1 = new java.awt.Label();
        jLblTillsattSkadespelare2 = new java.awt.Label();
        jLblTillsattSkadespelare3 = new java.awt.Label();
        jLabel40 = new javax.swing.JLabel();
        jPanTillsattSkadespelare = new javax.swing.JPanel();
        jLabel21 = new javax.swing.JLabel();
        jTPanSkapaOchUppdatera = new javax.swing.JTabbedPane();
        jTPanSkapaOchUppdateraSkadespelare = new javax.swing.JPanel();
        jLabel3 = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareNamn = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareHarfarg = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareKon = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareAlder = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareLangd = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareVikt = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraSkadespelareNamn = new javax.swing.JTextField();
        jTxtSkapaOchUppdateraSkadespelareAlder = new javax.swing.JTextField();
        jCmbBoxSkapaOchUppdateraSkadespelareHarfarg = new javax.swing.JComboBox();
        jCmbBoxSkapaOchUppdateraSkadespelareKon = new javax.swing.JComboBox();
        jTxtSkapaOchUppdateraSkadespelareLangd = new javax.swing.JTextField();
        jTxtSkapaOchUppdateraSkadespelareVikt = new javax.swing.JTextField();
        jLblSkapaOchUppdateraSkadespelareListaAgent = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareOgonfarg = new javax.swing.JLabel();
        jCmbBoxSkapaOchUppdateraSkadespelareOgonfarg = new javax.swing.JComboBox();
        filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        jLstSkapaOchUppdateraSkadespelareLista = new java.awt.List();
        jLstSkapaOchUppdateraSkadespelareListaAgent = new java.awt.List();
        jLblSkapaOchUppdateraSkadespelareError = new javax.swing.JLabel();
        jLblSkapaOchUppdateraSkadespelareShowAgent = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraSkadespelareShowAgent = new javax.swing.JTextField();
        jBtnSkapaOchUppdateraSkadespelareFirst = new javax.swing.JButton();
        jBtnSkapaOchUppdateraSkadespelareSecond = new javax.swing.JButton();
        jLblSkapaOchUppdateraSkadespelareVikt3 = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraSkadespelareShowSID = new javax.swing.JTextField();
        jBtnSkapaOchUppdateraSkadespelareRensaFalt = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();
        jBtnSkapaOchUppdateraTaBortFormaga = new javax.swing.JButton();
        jBtnSkapaOchUppdateraLaggTillFormaga = new javax.swing.JButton();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLstSkapaOchUppdateraSkadespelareListaFormagor = new java.awt.List();
        jLstSkapaOchUppdateraSkadespelareListaFormagorHar = new java.awt.List();
        jTPanSkapaOchUppdateraAgenter = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        jLblSkapaOchUppdateraAgentNamn = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraAgentNamn = new javax.swing.JTextField();
        filler2 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        jLblSkapaOchUppdateraAgentTelefon = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraAgentTelefon = new javax.swing.JTextField();
        jTxtSkapaOchUppdateraAgentMail = new javax.swing.JTextField();
        jLblSkapaOchUppdateraAgentMail = new javax.swing.JLabel();
        jLstSkapaOchUppdateraAgentLista = new java.awt.List();
        jLblSkapaOchUppdateraAgentAID = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraAgentAID = new javax.swing.JTextField();
        jBtnSkapaOchUppdateraAgentFirst = new javax.swing.JButton();
        jBtnSkapaOchUppdateraAgentSecond = new javax.swing.JButton();
        jLblSkapaOchUppdateraAgentError = new javax.swing.JLabel();
        jBtnSkapaOchUppdateraAgentRensaFalt = new javax.swing.JButton();
        jTPanSkapaOchUppdateraRoller = new javax.swing.JPanel();
        jLabel41 = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollNamn = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollHarfarg = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollKon = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollAlder = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollLangd = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollVikt = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraRollNamn = new javax.swing.JTextField();
        jTxtSkapaOchUppdateraRollAlder = new javax.swing.JTextField();
        jCmbBoxSkapaOchUppdateraRollHarfarg = new javax.swing.JComboBox();
        jCmbBoxSkapaOchUppdateraRollKon = new javax.swing.JComboBox();
        jTxtSkapaOchUppdateraRollLangd = new javax.swing.JTextField();
        jTxtSkapaOchUppdateraRollVikt = new javax.swing.JTextField();
        jLblSkadespelareTillRollMatchMessage2 = new javax.swing.JLabel();
        filler3 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        jLblSkapaOchUppdateraRollBeskrivning = new javax.swing.JLabel();
        jScrollPane8 = new javax.swing.JScrollPane();
        jTxtSkapaOchUppdateraRollBeskrivning = new javax.swing.JTextArea();
        jLstSkapaOchUppdateraRollLista = new java.awt.List();
        jLstSkapaOchUppdateraRollListaSkadespelare = new java.awt.List();
        jLstSkapaOchUppdateraRollListaProduktion = new java.awt.List();
        jBtnSkapaOchUppdateraRollSecond = new javax.swing.JButton();
        jBtnSkapaOchUppdateraRollFirst = new javax.swing.JButton();
        jLblSkapaOchUppdateraRollError = new javax.swing.JLabel();
        jLblSkapaOchUppdateraRollRID = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraRollRID = new javax.swing.JTextField();
        jBtnSkapaOchUppdateraRollRensaFalt = new javax.swing.JButton();
        jLstSkapaOchUppdateraRollerListaIckeTillagdaFormagor = new java.awt.List();
        jLstSkapaOchUppdateraRollerListaTillagdaFormagor = new java.awt.List();
        jBtnSkapaOchUppdateraRollerLaggTillFormaga = new javax.swing.JButton();
        jBtnSkapaOchUppdateraRollerTaBortFormaga = new javax.swing.JButton();
        label11 = new java.awt.Label();
        label12 = new java.awt.Label();
        jLabel10 = new javax.swing.JLabel();
        jTPanSkapaOchUppdateraProduktioner = new javax.swing.JPanel();
        jLabel56 = new javax.swing.JLabel();
        jLblSkapaOchUppdateraProduktionTitel = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraProduktionTitel = new javax.swing.JTextField();
        filler4 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        jLblSkapaOchUppdateraProduktionInspelningsStart = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraProduktionInspelningsStart = new javax.swing.JTextField();
        jTxtSkapaOchUppdateraProduktionInspelningsSlut = new javax.swing.JTextField();
        jLblSkapaOchUppdateraProduktionInspelningsSlut = new javax.swing.JLabel();
        jLblSkapaOchUppdateraProduktionGenre = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraProduktionGenre = new javax.swing.JTextField();
        jLstSkapaOchUppdateraProduktionLista = new java.awt.List();
        jBtnSkapaOchUppdateraProduktionFirst = new javax.swing.JButton();
        jBtnSkapaOchUppdateraProduktionSecond = new javax.swing.JButton();
        jLblSkapaOchUppdateraProduktionGenre1 = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraProduktionPID = new javax.swing.JTextField();
        jLblSkapaOchUppdateraProduktionError = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jBtnSkapaOchUppdateraProduktionRensaFalt = new javax.swing.JButton();
        jTPanSkapaOchUppdateraFormagor = new javax.swing.JPanel();
        jLabel61 = new javax.swing.JLabel();
        jLblSkapaOchUppdateraFormagaNamn = new javax.swing.JLabel();
        jTxtSkapaOchUppdateraFormagaNamn = new javax.swing.JTextField();
        filler5 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        jLblSkapaOchUppdateraFormagaBeskrivning = new javax.swing.JLabel();
        jScrollPane11 = new javax.swing.JScrollPane();
        jTxtSkapaOchUppdateraFormagaBeskrivning = new javax.swing.JTextArea();
        jLstSkapaOchUppdateraFormagaLista = new java.awt.List();
        jBtnSkapaOchUppdateraFormagaFirst = new javax.swing.JButton();
        jBtnSkapaOchUppdateraFormagaSecond = new javax.swing.JButton();
        jTxtSkapaOchUppdateraFormagaFID = new javax.swing.JTextField();
        jLblSkapaOchUppdateraFormagaFID = new javax.swing.JLabel();
        jLblSkapaOchUppdateraFormagaError = new javax.swing.JLabel();
        jBtnSkapaOchUppdateraFormagaRensaFalt = new javax.swing.JButton();
        jPanTillsattSkadespelare1 = new javax.swing.JPanel();
        jLabel22 = new javax.swing.JLabel();
        jTPanSokOchMatcha = new javax.swing.JTabbedPane();
        jTPanSkapaOchUppdateraSkadespelare1 = new javax.swing.JPanel();
        filler6 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        jLayeredPane2 = new javax.swing.JLayeredPane();
        jPanelSearchEngine = new javax.swing.JPanel();
        list2 = new java.awt.List();
        list1 = new java.awt.List();
        jButtonSokOchMatchaRemoveFormagaFromFilter = new javax.swing.JButton();
        jButtonSokOchMatchaSokIncludeFormagaToSearch = new javax.swing.JButton();
        jButtonSokOchMatchaSokResetAllForms = new javax.swing.JButton();
        jTxtFieldSokOchMatchaSokTerm = new javax.swing.JTextField();
        jBtnSokOchMatchaSok = new javax.swing.JButton();
        jLblSokOchMatchaSokKon = new javax.swing.JLabel();
        jCmbBoxSokOchMatchaSokKon1 = new javax.swing.JComboBox();
        jLblSokOchMatchaSokHarfarg1 = new javax.swing.JLabel();
        jCmbBoxSokOchMatchaSokHarfarg1 = new javax.swing.JComboBox();
        jLblSokOchMatchaSokOgonfarg1 = new javax.swing.JLabel();
        jCmbBoxSokOchMatchaSokOgonfarg1 = new javax.swing.JComboBox();
        jLblSokOchMatchaSokAlder1 = new javax.swing.JLabel();
        jTxtSokOchMatchaSokAlder1 = new javax.swing.JTextField();
        jLblSokOchMatchaSokLangd1 = new javax.swing.JLabel();
        jTxtSokOchMatchaSokLangd1 = new javax.swing.JTextField();
        jLblSokOchMatchaSokVikt1 = new javax.swing.JLabel();
        jTxtSokOchMatchaSokVikt1 = new javax.swing.JTextField();
        jLblSokOchMatchaSokSokTerm = new javax.swing.JLabel();
        jTxtSokOchMatchaSokLangd2 = new javax.swing.JTextField();
        jTxtSokOchMatchaSokVikt2 = new javax.swing.JTextField();
        jTxtSokOchMatchaSokAlder2 = new javax.swing.JTextField();
        jLblSokOchMatchaSokAlder2 = new javax.swing.JLabel();
        jLblSokOchMatchaSokAlder3 = new javax.swing.JLabel();
        jLblSokOchMatchaSokAlder4 = new javax.swing.JLabel();
        jLblSokOchMatchaSokVikt3 = new javax.swing.JLabel();
        jLblSokOchMatchaSokErrorLabel = new javax.swing.JLabel();
        jPanelSearchResultAndMatchRoles = new javax.swing.JPanel();
        label4 = new java.awt.Label();
        label1 = new java.awt.Label();
        listSuggestedForTheseRoles = new java.awt.List();
        EarlierRoles = new java.awt.List();
        SearchResultAndEarlierProductionsSkadespelare = new java.awt.List();
        SkadespelareFormagar = new java.awt.List();
        label3 = new java.awt.Label();
        label2 = new java.awt.Label();
        DynamicLabelSearchAndEarlierProd = new java.awt.Label();
        BackToSearchResult = new java.awt.Button();
        btnBackToSearchEngine = new java.awt.Button();
        jScrollPane1 = new javax.swing.JScrollPane();
        NameAndDescriptionSkadespelare = new javax.swing.JTextArea();
        jTPanSkapaOchUppdateraAgenter1 = new javax.swing.JPanel();
        filler7 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 32767));
        lstProductionsSokOchMatchaMatcha = new java.awt.List();
        lstRolesSokOchMatchaMatcha = new java.awt.List();
        lstSkadespelareSomMatcharSokOchMatchaMatcha = new java.awt.List();
        label5 = new java.awt.Label();
        label6 = new java.awt.Label();
        label7 = new java.awt.Label();
        label8 = new java.awt.Label();
        label9 = new java.awt.Label();
        btnResetSokOchMatchaMatcha = new javax.swing.JButton();
        chkMatchaMedAlder = new java.awt.Checkbox();
        chkMatchaMedKon = new java.awt.Checkbox();
        chkMatchaMedHarfarg = new java.awt.Checkbox();
        chkMatchaMedLangd = new java.awt.Checkbox();
        chkMatchaMedVikt = new java.awt.Checkbox();
        lstForeslagnaRollerSokOchMatchaMatcha = new java.awt.List();
        label10 = new java.awt.Label();
        btnUpdateSkadePelareForslagenRoll = new javax.swing.JButton();
        jTxtForeslagenRollBeskrivningSokOchMatchaMatcha = new javax.swing.JScrollPane();
        jTxtArea = new javax.swing.JTextArea();

        jInternalFrame1.setVisible(true);

        org.jdesktop.layout.GroupLayout jInternalFrame1Layout = new org.jdesktop.layout.GroupLayout(jInternalFrame1.getContentPane());
        jInternalFrame1.getContentPane().setLayout(jInternalFrame1Layout);
        jInternalFrame1Layout.setHorizontalGroup(
            jInternalFrame1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 0, Short.MAX_VALUE)
        );
        jInternalFrame1Layout.setVerticalGroup(
            jInternalFrame1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 0, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("ECA - European Central Agency");
        setMinimumSize(new java.awt.Dimension(940, 600));
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowOpened(java.awt.event.WindowEvent evt) {
                formWindowOpened(evt);
            }
        });
        addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentMoved(java.awt.event.ComponentEvent evt) {
                formComponentMoved(evt);
            }
            public void componentResized(java.awt.event.ComponentEvent evt) {
                formComponentResized(evt);
            }
        });

        jLblProduktion.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLblProduktion.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLblProduktion.setForeground(new java.awt.Color(51, 51, 255));
        jLblProduktion.setText("- Sök");
        jLblProduktion.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLblProduktionMousePressed(evt);
            }
        });

        jLblTillsattSkadespelare.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLblTillsattSkadespelare.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLblTillsattSkadespelare.setForeground(new java.awt.Color(51, 51, 255));
        jLblTillsattSkadespelare.setText("- Agenter");
        jLblTillsattSkadespelare.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLblTillsattSkadespelareMousePressed(evt);
            }
        });

        jLabel1.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        jLabel1.setText("Skapa och Uppdatera");
        jLabel1.setToolTipText("");
        jLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLabel1MousePressed(evt);
            }
        });

        jLabel2.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        jLabel2.setText("Sök och ändra");

        jlblSkadespelareTillRoll.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jlblSkadespelareTillRoll.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jlblSkadespelareTillRoll.setForeground(new java.awt.Color(51, 51, 255));
        jlblSkadespelareTillRoll.setText("- Skådespelare");
        jlblSkadespelareTillRoll.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jlblSkadespelareTillRollMousePressed(evt);
            }
        });

        jLblSkadespelare.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLblSkadespelare.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLblSkadespelare.setForeground(new java.awt.Color(51, 51, 255));
        jLblSkadespelare.setText("- Matcha");
        jLblSkadespelare.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLblSkadespelareMousePressed(evt);
            }
        });

        jLblTillsattSkadespelare1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLblTillsattSkadespelare1.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLblTillsattSkadespelare1.setForeground(new java.awt.Color(51, 51, 255));
        jLblTillsattSkadespelare1.setText("- Roller");
        jLblTillsattSkadespelare1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLblTillsattSkadespelare1MousePressed(evt);
            }
        });

        jLblTillsattSkadespelare2.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLblTillsattSkadespelare2.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLblTillsattSkadespelare2.setForeground(new java.awt.Color(51, 51, 255));
        jLblTillsattSkadespelare2.setText("- Produktioner");
        jLblTillsattSkadespelare2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLblTillsattSkadespelare2MousePressed(evt);
            }
        });

        jLblTillsattSkadespelare3.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLblTillsattSkadespelare3.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLblTillsattSkadespelare3.setForeground(new java.awt.Color(51, 51, 255));
        jLblTillsattSkadespelare3.setText("- Förmågor");
        jLblTillsattSkadespelare3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLblTillsattSkadespelare3MousePressed(evt);
            }
        });

        jLabel40.setFont(new java.awt.Font("Trebuchet MS", 0, 36)); // NOI18N
        jLabel40.setText("European Central Agency");

        org.jdesktop.layout.GroupLayout jPanStartsidaLayout = new org.jdesktop.layout.GroupLayout(jPanStartsida);
        jPanStartsida.setLayout(jPanStartsidaLayout);
        jPanStartsidaLayout.setHorizontalGroup(
            jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanStartsidaLayout.createSequentialGroup()
                .add(220, 220, 220)
                .add(jLabel40, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
            .add(jPanStartsidaLayout.createSequentialGroup()
                .add(185, 185, 185)
                .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLabel1)
                    .add(jPanStartsidaLayout.createSequentialGroup()
                        .add(22, 22, 22)
                        .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLblTillsattSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jlblSkadespelareTillRoll, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblTillsattSkadespelare1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblTillsattSkadespelare2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblTillsattSkadespelare3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanStartsidaLayout.createSequentialGroup()
                        .add(197, 197, 197)
                        .add(jLabel2))
                    .add(jPanStartsidaLayout.createSequentialGroup()
                        .add(218, 218, 218)
                        .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLblSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblProduktion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(215, Short.MAX_VALUE))
        );
        jPanStartsidaLayout.setVerticalGroup(
            jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanStartsidaLayout.createSequentialGroup()
                .add(37, 37, 37)
                .add(jLabel40)
                .add(76, 76, 76)
                .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLabel1)
                    .add(jLabel2))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLblProduktion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jlblSkadespelareTillRoll, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanStartsidaLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanStartsidaLayout.createSequentialGroup()
                        .add(jLblTillsattSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLblTillsattSkadespelare1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLblTillsattSkadespelare2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLblTillsattSkadespelare3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jLblSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(196, Short.MAX_VALUE))
        );

        jLblProduktion.getAccessibleContext().setAccessibleName("jLblSok");

        Menu.addTab("Startsida", jPanStartsida);

        jLabel21.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        jLabel21.setText("Skapa och uppdatera information");

        jTPanSkapaOchUppdatera.setTabPlacement(javax.swing.JTabbedPane.LEFT);
        jTPanSkapaOchUppdatera.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jTPanSkapaOchUppdateraMousePressed(evt);
            }
        });

        jTPanSkapaOchUppdateraSkadespelare.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraSkadespelareComponentShown(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel3.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
        jLabel3.setText("Skådespelare");
        jTPanSkapaOchUppdateraSkadespelare.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(31, 14, -1, -1));

        jLblSkapaOchUppdateraSkadespelareNamn.setText("Namn");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareNamn, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 42, -1, -1));

        jLblSkapaOchUppdateraSkadespelareHarfarg.setText("Hårfärg");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareHarfarg, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 94, -1, -1));

        jLblSkapaOchUppdateraSkadespelareKon.setText("Kön");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareKon, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 68, -1, -1));

        jLblSkapaOchUppdateraSkadespelareAlder.setText("Ålder");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareAlder, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 146, -1, -1));

        jLblSkapaOchUppdateraSkadespelareLangd.setText("Längd (cm)");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareLangd, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 172, -1, -1));

        jLblSkapaOchUppdateraSkadespelareVikt.setText("Vikt (kg)");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareVikt, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 198, -1, -1));
        jTPanSkapaOchUppdateraSkadespelare.add(jTxtSkapaOchUppdateraSkadespelareNamn, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 39, 169, -1));

        jTxtSkapaOchUppdateraSkadespelareAlder.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraSkadespelareAlderKeyReleased(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jTxtSkapaOchUppdateraSkadespelareAlder, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 143, 170, -1));

        jCmbBoxSkapaOchUppdateraSkadespelareHarfarg.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Brun", "Blond", "Svart", "Röd", "Vit", "Andra färger", "Eget" }));
        jTPanSkapaOchUppdateraSkadespelare.add(jCmbBoxSkapaOchUppdateraSkadespelareHarfarg, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 91, 170, -1));

        jCmbBoxSkapaOchUppdateraSkadespelareKon.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Man", "Kvinna", "Annat" }));
        jTPanSkapaOchUppdateraSkadespelare.add(jCmbBoxSkapaOchUppdateraSkadespelareKon, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 65, 170, -1));

        jTxtSkapaOchUppdateraSkadespelareLangd.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraSkadespelareLangdKeyReleased(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jTxtSkapaOchUppdateraSkadespelareLangd, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 169, 170, -1));

        jTxtSkapaOchUppdateraSkadespelareVikt.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraSkadespelareViktKeyReleased(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jTxtSkapaOchUppdateraSkadespelareVikt, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 195, 170, -1));

        jLblSkapaOchUppdateraSkadespelareListaAgent.setText("Välj en agent i listan för den här skådespelaren");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareListaAgent, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 20, -1, -1));

        jLblSkapaOchUppdateraSkadespelareOgonfarg.setText("Ögonfärg");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareOgonfarg, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 120, -1, -1));

        jCmbBoxSkapaOchUppdateraSkadespelareOgonfarg.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Brun", "Blå", "Grön", "Blå-grön", "Gul", "Eget" }));
        jTPanSkapaOchUppdateraSkadespelare.add(jCmbBoxSkapaOchUppdateraSkadespelareOgonfarg, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 117, 170, -1));
        jTPanSkapaOchUppdateraSkadespelare.add(filler1, new org.netbeans.lib.awtextra.AbsoluteConstraints(202, 136, -1, -1));

        jLstSkapaOchUppdateraSkadespelareLista.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jLstSkapaOchUppdateraSkadespelareListaItemStateChanged(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jLstSkapaOchUppdateraSkadespelareLista, new org.netbeans.lib.awtextra.AbsoluteConstraints(21, 46, 171, 350));
        jTPanSkapaOchUppdateraSkadespelare.add(jLstSkapaOchUppdateraSkadespelareListaAgent, new org.netbeans.lib.awtextra.AbsoluteConstraints(486, 39, 280, 160));

        jLblSkapaOchUppdateraSkadespelareError.setText("ErrorLabel");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareError, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 310, 239, 62));

        jLblSkapaOchUppdateraSkadespelareShowAgent.setText("Nuvarande agent");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareShowAgent, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 224, -1, -1));

        jTxtSkapaOchUppdateraSkadespelareShowAgent.setEditable(false);
        jTxtSkapaOchUppdateraSkadespelareShowAgent.setBackground(new java.awt.Color(238, 238, 238));
        jTxtSkapaOchUppdateraSkadespelareShowAgent.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraSkadespelareShowAgentKeyReleased(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jTxtSkapaOchUppdateraSkadespelareShowAgent, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 221, 170, -1));

        jBtnSkapaOchUppdateraSkadespelareFirst.setText("Ändra skådespelare");
        jBtnSkapaOchUppdateraSkadespelareFirst.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraSkadespelareFirstActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jBtnSkapaOchUppdateraSkadespelareFirst, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 410, 166, -1));

        jBtnSkapaOchUppdateraSkadespelareSecond.setText("Lägg till skådespelare");
        jBtnSkapaOchUppdateraSkadespelareSecond.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraSkadespelareSecondActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jBtnSkapaOchUppdateraSkadespelareSecond, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 440, 166, -1));

        jLblSkapaOchUppdateraSkadespelareVikt3.setText("SID");
        jTPanSkapaOchUppdateraSkadespelare.add(jLblSkapaOchUppdateraSkadespelareVikt3, new org.netbeans.lib.awtextra.AbsoluteConstraints(206, 250, -1, -1));

        jTxtSkapaOchUppdateraSkadespelareShowSID.setEditable(false);
        jTxtSkapaOchUppdateraSkadespelareShowSID.setBackground(new java.awt.Color(204, 204, 204));
        jTxtSkapaOchUppdateraSkadespelareShowSID.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraSkadespelareShowSIDKeyReleased(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jTxtSkapaOchUppdateraSkadespelareShowSID, new org.netbeans.lib.awtextra.AbsoluteConstraints(306, 247, 170, -1));

        jBtnSkapaOchUppdateraSkadespelareRensaFalt.setText("Rensa fält");
        jBtnSkapaOchUppdateraSkadespelareRensaFalt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraSkadespelareRensaFaltActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jBtnSkapaOchUppdateraSkadespelareRensaFalt, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 10, -1, -1));

        jLabel7.setText("Välj en eller flera förmågor i listan nedanför");
        jTPanSkapaOchUppdateraSkadespelare.add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 220, -1, -1));

        jBtnSkapaOchUppdateraTaBortFormaga.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jBtnSkapaOchUppdateraTaBortFormaga.setText("<");
        jBtnSkapaOchUppdateraTaBortFormaga.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraTaBortFormagaActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jBtnSkapaOchUppdateraTaBortFormaga, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 380, 50, 30));

        jBtnSkapaOchUppdateraLaggTillFormaga.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jBtnSkapaOchUppdateraLaggTillFormaga.setText(">");
        jBtnSkapaOchUppdateraLaggTillFormaga.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraLaggTillFormagaActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare.add(jBtnSkapaOchUppdateraLaggTillFormaga, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 320, 50, 30));

        jLabel8.setText("Förmågor du har valt");
        jTPanSkapaOchUppdateraSkadespelare.add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 240, -1, -1));

        jLabel9.setText("Förmågor tillgängliga");
        jTPanSkapaOchUppdateraSkadespelare.add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 240, -1, -1));

        jLstSkapaOchUppdateraSkadespelareListaFormagor.setMultipleMode(true);
        jTPanSkapaOchUppdateraSkadespelare.add(jLstSkapaOchUppdateraSkadespelareListaFormagor, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 260, 110, 210));

        jLstSkapaOchUppdateraSkadespelareListaFormagorHar.setMultipleMode(true);
        jTPanSkapaOchUppdateraSkadespelare.add(jLstSkapaOchUppdateraSkadespelareListaFormagorHar, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 260, 110, 210));

        jTPanSkapaOchUppdatera.addTab("Skådespelare", jTPanSkapaOchUppdateraSkadespelare);

        jTPanSkapaOchUppdateraAgenter.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraAgenterComponentShown(evt);
            }
        });

        jLabel4.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
        jLabel4.setText("Agenter");

        jLblSkapaOchUppdateraAgentNamn.setText("Namn");

        jLblSkapaOchUppdateraAgentTelefon.setText("Telefon");

        jLblSkapaOchUppdateraAgentMail.setText("Mail");

        jLstSkapaOchUppdateraAgentLista.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jLstSkapaOchUppdateraAgentListaItemStateChanged(evt);
            }
        });

        jLblSkapaOchUppdateraAgentAID.setText("AID");

        jTxtSkapaOchUppdateraAgentAID.setEditable(false);
        jTxtSkapaOchUppdateraAgentAID.setBackground(new java.awt.Color(204, 204, 204));

        jBtnSkapaOchUppdateraAgentFirst.setText("Ändra agent");
        jBtnSkapaOchUppdateraAgentFirst.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraAgentFirstActionPerformed(evt);
            }
        });

        jBtnSkapaOchUppdateraAgentSecond.setText("Lägg till ny agent");
        jBtnSkapaOchUppdateraAgentSecond.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraAgentSecondActionPerformed(evt);
            }
        });

        jLblSkapaOchUppdateraAgentError.setText("ErrorText");

        jBtnSkapaOchUppdateraAgentRensaFalt.setText("Rensa fält");
        jBtnSkapaOchUppdateraAgentRensaFalt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraAgentRensaFaltActionPerformed(evt);
            }
        });

        org.jdesktop.layout.GroupLayout jTPanSkapaOchUppdateraAgenterLayout = new org.jdesktop.layout.GroupLayout(jTPanSkapaOchUppdateraAgenter);
        jTPanSkapaOchUppdateraAgenter.setLayout(jTPanSkapaOchUppdateraAgenterLayout);
        jTPanSkapaOchUppdateraAgenterLayout.setHorizontalGroup(
            jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                .add(41, 41, 41)
                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                        .add(10, 10, 10)
                        .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, jBtnSkapaOchUppdateraAgentSecond, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, jBtnSkapaOchUppdateraAgentFirst, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 166, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(0, 0, Short.MAX_VALUE))
                    .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                        .add(jLstSkapaOchUppdateraAgentLista, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 200, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(46, 46, 46)
                        .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLblSkapaOchUppdateraAgentTelefon)
                                    .add(jLblSkapaOchUppdateraAgentMail)
                                    .add(jLblSkapaOchUppdateraAgentAID))
                                .add(10, 10, 10)
                                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jTxtSkapaOchUppdateraAgentMail, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 269, Short.MAX_VALUE)
                                    .add(jTxtSkapaOchUppdateraAgentTelefon)
                                    .add(jTxtSkapaOchUppdateraAgentAID)))
                            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                                .add(jLblSkapaOchUppdateraAgentError, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .add(0, 204, Short.MAX_VALUE))
                            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                                .add(jLblSkapaOchUppdateraAgentNamn)
                                .add(18, 18, 18)
                                .add(jTxtSkapaOchUppdateraAgentNamn)))
                        .add(191, 191, 191))
                    .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                        .add(filler2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel4)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(jBtnSkapaOchUppdateraAgentRensaFalt)
                        .add(183, 183, 183))))
        );
        jTPanSkapaOchUppdateraAgenterLayout.setVerticalGroup(
            jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                        .add(44, 44, 44)
                        .add(filler2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel4)
                            .add(jBtnSkapaOchUppdateraAgentRensaFalt))
                        .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraAgentNamn)
                                    .add(jTxtSkapaOchUppdateraAgentNamn, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraAgentTelefon)
                                    .add(jTxtSkapaOchUppdateraAgentTelefon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraAgentMail)
                                    .add(jTxtSkapaOchUppdateraAgentMail, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraAgenterLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraAgentAID)
                                    .add(jTxtSkapaOchUppdateraAgentAID, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .add(120, 120, 120)
                                .add(jLblSkapaOchUppdateraAgentError, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 59, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jTPanSkapaOchUppdateraAgenterLayout.createSequentialGroup()
                                .add(11, 11, 11)
                                .add(jLstSkapaOchUppdateraAgentLista, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 315, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jBtnSkapaOchUppdateraAgentFirst)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jBtnSkapaOchUppdateraAgentSecond)
                .addContainerGap(48, Short.MAX_VALUE))
        );

        jTPanSkapaOchUppdatera.addTab("Agenter", jTPanSkapaOchUppdateraAgenter);

        jTPanSkapaOchUppdateraRoller.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraRollerComponentShown(evt);
            }
        });

        jLabel41.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
        jLabel41.setText("Roller");

        jLblSkapaOchUppdateraRollNamn.setText("Namn");

        jLblSkapaOchUppdateraRollHarfarg.setText("Hårfärg");

        jLblSkapaOchUppdateraRollKon.setText("Kön");

        jLblSkapaOchUppdateraRollAlder.setText("Ålder");

        jLblSkapaOchUppdateraRollLangd.setText("Längd (cm)");

        jLblSkapaOchUppdateraRollVikt.setText("Vikt (kg)");

        jTxtSkapaOchUppdateraRollAlder.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraRollAlderKeyReleased(evt);
            }
        });

        jCmbBoxSkapaOchUppdateraRollHarfarg.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Brun", "Blond", "Svart", "Röd", "Vit", "Andra färger", "Eget" }));

        jCmbBoxSkapaOchUppdateraRollKon.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Man", "Kvinna", "Annat" }));

        jTxtSkapaOchUppdateraRollLangd.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraRollLangdKeyReleased(evt);
            }
        });

        jTxtSkapaOchUppdateraRollVikt.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSkapaOchUppdateraRollViktKeyReleased(evt);
            }
        });

        jLblSkadespelareTillRollMatchMessage2.setText("Välj en skådespelare som matchar i listan");

        jLblSkapaOchUppdateraRollBeskrivning.setText("Beskrivning");

        jTxtSkapaOchUppdateraRollBeskrivning.setColumns(20);
        jTxtSkapaOchUppdateraRollBeskrivning.setLineWrap(true);
        jTxtSkapaOchUppdateraRollBeskrivning.setRows(5);
        jScrollPane8.setViewportView(jTxtSkapaOchUppdateraRollBeskrivning);

        jLstSkapaOchUppdateraRollLista.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jLstSkapaOchUppdateraRollListaItemStateChanged(evt);
            }
        });
        jLstSkapaOchUppdateraRollLista.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jLstSkapaOchUppdateraRollListaActionPerformed(evt);
            }
        });

        jLstSkapaOchUppdateraRollListaSkadespelare.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jLstSkapaOchUppdateraRollListaSkadespelareMousePressed(evt);
            }
        });
        jLstSkapaOchUppdateraRollListaSkadespelare.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jLstSkapaOchUppdateraRollListaSkadespelareItemStateChanged(evt);
            }
        });

        jBtnSkapaOchUppdateraRollSecond.setText("Lägg till ny roll");
        jBtnSkapaOchUppdateraRollSecond.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraRollSecondActionPerformed(evt);
            }
        });

        jBtnSkapaOchUppdateraRollFirst.setText("Ändra roll");
        jBtnSkapaOchUppdateraRollFirst.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraRollFirstActionPerformed(evt);
            }
        });

        jLblSkapaOchUppdateraRollError.setText("ErrorText");

        jLblSkapaOchUppdateraRollRID.setText("RID");

        jTxtSkapaOchUppdateraRollRID.setEditable(false);
        jTxtSkapaOchUppdateraRollRID.setBackground(new java.awt.Color(204, 204, 204));

        jBtnSkapaOchUppdateraRollRensaFalt.setText("Rensa fält");
        jBtnSkapaOchUppdateraRollRensaFalt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraRollRensaFaltActionPerformed(evt);
            }
        });

        jBtnSkapaOchUppdateraRollerLaggTillFormaga.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jBtnSkapaOchUppdateraRollerLaggTillFormaga.setText(">");
        jBtnSkapaOchUppdateraRollerLaggTillFormaga.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraRollerLaggTillFormagaActionPerformed(evt);
            }
        });

        jBtnSkapaOchUppdateraRollerTaBortFormaga.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jBtnSkapaOchUppdateraRollerTaBortFormaga.setText("<");
        jBtnSkapaOchUppdateraRollerTaBortFormaga.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraRollerTaBortFormagaActionPerformed(evt);
            }
        });

        label11.setText("Förmågor");

        label12.setText("Valda förmågor");

        jLabel10.setText("Välj en produktion i listan för den här rollen");

        org.jdesktop.layout.GroupLayout jTPanSkapaOchUppdateraRollerLayout = new org.jdesktop.layout.GroupLayout(jTPanSkapaOchUppdateraRoller);
        jTPanSkapaOchUppdateraRoller.setLayout(jTPanSkapaOchUppdateraRollerLayout);
        jTPanSkapaOchUppdateraRollerLayout.setHorizontalGroup(
            jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                        .add(41, 41, 41)
                        .add(filler3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel41)
                            .add(jLstSkapaOchUppdateraRollLista, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 197, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(10, 10, 10)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, jBtnSkapaOchUppdateraRollSecond, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .add(org.jdesktop.layout.GroupLayout.LEADING, jBtnSkapaOchUppdateraRollFirst, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 166, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(jBtnSkapaOchUppdateraRollerLaggTillFormaga)
                                .add(71, 71, 71)
                                .add(jBtnSkapaOchUppdateraRollerTaBortFormaga))))
                    .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLstSkapaOchUppdateraRollerListaIckeTillagdaFormagor, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 119, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(label11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(label12, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLstSkapaOchUppdateraRollerListaTillagdaFormagor, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 119, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                .add(39, 39, 39)
                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(org.jdesktop.layout.GroupLayout.TRAILING, jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLblSkapaOchUppdateraRollAlder)
                                    .add(jLblSkapaOchUppdateraRollVikt)
                                    .add(jLblSkapaOchUppdateraRollLangd)
                                    .add(jLblSkapaOchUppdateraRollBeskrivning))
                                .add(15, 15, 15)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                                    .add(jTxtSkapaOchUppdateraRollLangd)
                                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jTxtSkapaOchUppdateraRollAlder)
                                    .add(jTxtSkapaOchUppdateraRollVikt, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLblSkapaOchUppdateraRollKon)
                                    .add(jLblSkapaOchUppdateraRollHarfarg)
                                    .add(jLblSkapaOchUppdateraRollNamn))
                                .add(32, 32, 32)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jCmbBoxSkapaOchUppdateraRollHarfarg, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jCmbBoxSkapaOchUppdateraRollKon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                        .add(jBtnSkapaOchUppdateraRollRensaFalt)
                                        .add(jTxtSkapaOchUppdateraRollNamn, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 169, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
                        .add(org.jdesktop.layout.GroupLayout.TRAILING, jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jScrollPane8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 243, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(jLblSkapaOchUppdateraRollRID)
                                .add(23, 23, 23)
                                .add(jTxtSkapaOchUppdateraRollRID, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 169, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                    .add(jLblSkapaOchUppdateraRollError, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 229, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jLstSkapaOchUppdateraRollListaSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 217, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLblSkadespelareTillRollMatchMessage2)
                    .add(jLabel10)
                    .add(jLstSkapaOchUppdateraRollListaProduktion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 215, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(163, 163, 163))
        );
        jTPanSkapaOchUppdateraRollerLayout.setVerticalGroup(
            jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                .addContainerGap()
                .add(jBtnSkapaOchUppdateraRollRensaFalt)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                            .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(jLblSkadespelareTillRollMatchMessage2)
                                .add(6, 6, 6)
                                .add(jLstSkapaOchUppdateraRollListaSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 144, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jLabel10)
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jLstSkapaOchUppdateraRollListaProduktion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 144, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(103, 103, 103))
                            .add(org.jdesktop.layout.GroupLayout.LEADING, jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                .add(jLabel41)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                        .add(103, 103, 103)
                                        .add(filler3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(jLstSkapaOchUppdateraRollLista, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 200, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(jBtnSkapaOchUppdateraRollFirst)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(jBtnSkapaOchUppdateraRollSecond)))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jBtnSkapaOchUppdateraRollerLaggTillFormaga)
                                    .add(jBtnSkapaOchUppdateraRollerTaBortFormaga))
                                .add(1, 1, 1)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLstSkapaOchUppdateraRollerListaIckeTillagdaFormagor, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 92, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(jLstSkapaOchUppdateraRollerListaTillagdaFormagor, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 92, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(label11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(label12, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .add(jTPanSkapaOchUppdateraRollerLayout.createSequentialGroup()
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSkapaOchUppdateraRollNamn)
                            .add(jTxtSkapaOchUppdateraRollNamn, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSkapaOchUppdateraRollKon)
                            .add(jCmbBoxSkapaOchUppdateraRollKon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jCmbBoxSkapaOchUppdateraRollHarfarg, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblSkapaOchUppdateraRollHarfarg))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSkapaOchUppdateraRollAlder)
                            .add(jTxtSkapaOchUppdateraRollAlder, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSkapaOchUppdateraRollLangd)
                            .add(jTxtSkapaOchUppdateraRollLangd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSkapaOchUppdateraRollVikt)
                            .add(jTxtSkapaOchUppdateraRollVikt, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLblSkapaOchUppdateraRollBeskrivning)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jScrollPane8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 104, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraRollerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSkapaOchUppdateraRollRID)
                            .add(jTxtSkapaOchUppdateraRollRID, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(jLblSkapaOchUppdateraRollError, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 61, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(0, 0, Short.MAX_VALUE))))
        );

        jTPanSkapaOchUppdatera.addTab("Roller", jTPanSkapaOchUppdateraRoller);

        jTPanSkapaOchUppdateraProduktioner.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraProduktionerComponentShown(evt);
            }
        });

        jLabel56.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
        jLabel56.setText("Produktioner");

        jLblSkapaOchUppdateraProduktionTitel.setText("Titel");

        jTxtSkapaOchUppdateraProduktionTitel.setName(""); // NOI18N
        jTxtSkapaOchUppdateraProduktionTitel.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                ProduktionTextValidation(evt);
            }
        });

        jLblSkapaOchUppdateraProduktionInspelningsStart.setText("Inspelningsstart");

        jTxtSkapaOchUppdateraProduktionInspelningsStart.setText("0000-00-00");
        jTxtSkapaOchUppdateraProduktionInspelningsStart.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                ProduktionTextValidation(evt);
            }
        });

        jTxtSkapaOchUppdateraProduktionInspelningsSlut.setText("0000-00-00");
        jTxtSkapaOchUppdateraProduktionInspelningsSlut.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                ProduktionTextValidation(evt);
            }
        });

        jLblSkapaOchUppdateraProduktionInspelningsSlut.setText("Inspelningsslut");

        jLblSkapaOchUppdateraProduktionGenre.setText("Genre");

        jTxtSkapaOchUppdateraProduktionGenre.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                ProduktionTextValidation(evt);
            }
        });

        jLstSkapaOchUppdateraProduktionLista.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jLstSkapaOchUppdateraProduktionListaItemStateChanged(evt);
            }
        });

        jBtnSkapaOchUppdateraProduktionFirst.setText("Ändra Produktion");
        jBtnSkapaOchUppdateraProduktionFirst.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraProduktionFirstActionPerformed(evt);
            }
        });

        jBtnSkapaOchUppdateraProduktionSecond.setText("Lägg till ny produktion");
        jBtnSkapaOchUppdateraProduktionSecond.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraProduktionSecondActionPerformed(evt);
            }
        });

        jLblSkapaOchUppdateraProduktionGenre1.setText("PID");

        jTxtSkapaOchUppdateraProduktionPID.setBackground(new java.awt.Color(204, 204, 204));

        jLblSkapaOchUppdateraProduktionError.setText("ErrorText");

        jLabel5.setText("yyyy-MM-dd");

        jLabel6.setText("yyyy-MM-dd");

        jBtnSkapaOchUppdateraProduktionRensaFalt.setText("Rensa fält");
        jBtnSkapaOchUppdateraProduktionRensaFalt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraProduktionRensaFaltActionPerformed(evt);
            }
        });

        org.jdesktop.layout.GroupLayout jTPanSkapaOchUppdateraProduktionerLayout = new org.jdesktop.layout.GroupLayout(jTPanSkapaOchUppdateraProduktioner);
        jTPanSkapaOchUppdateraProduktioner.setLayout(jTPanSkapaOchUppdateraProduktionerLayout);
        jTPanSkapaOchUppdateraProduktionerLayout.setHorizontalGroup(
            jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                .add(41, 41, 41)
                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                        .add(filler4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jLabel56)
                        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                        .add(jLstSkapaOchUppdateraProduktionLista, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 203, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(43, 43, 43)
                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLblSkapaOchUppdateraProduktionInspelningsStart)
                                    .add(jLblSkapaOchUppdateraProduktionInspelningsSlut)
                                    .add(jLblSkapaOchUppdateraProduktionGenre)
                                    .add(jLblSkapaOchUppdateraProduktionGenre1))
                                .add(10, 10, 10)
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jTxtSkapaOchUppdateraProduktionInspelningsStart)
                                    .add(jTxtSkapaOchUppdateraProduktionInspelningsSlut)
                                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jTxtSkapaOchUppdateraProduktionGenre)
                                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jTxtSkapaOchUppdateraProduktionPID)))
                            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                    .add(jBtnSkapaOchUppdateraProduktionRensaFalt)
                                    .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                                            .add(jLblSkapaOchUppdateraProduktionTitel)
                                            .add(67, 67, 67)
                                            .add(jTxtSkapaOchUppdateraProduktionTitel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 217, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                        .add(org.jdesktop.layout.GroupLayout.LEADING, jLblSkapaOchUppdateraProduktionError, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                                .add(0, 0, Short.MAX_VALUE)))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jLabel5)
                            .add(jLabel6))
                        .add(147, 147, 147))))
            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                .add(52, 52, 52)
                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jBtnSkapaOchUppdateraProduktionSecond, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(org.jdesktop.layout.GroupLayout.LEADING, jBtnSkapaOchUppdateraProduktionFirst, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 166, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(0, 0, Short.MAX_VALUE))
        );
        jTPanSkapaOchUppdateraProduktionerLayout.setVerticalGroup(
            jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                        .add(44, 44, 44)
                        .add(filler4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLabel56)
                            .add(jBtnSkapaOchUppdateraProduktionRensaFalt))
                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraProduktionTitel)
                                    .add(jTxtSkapaOchUppdateraProduktionTitel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(jLblSkapaOchUppdateraProduktionInspelningsStart)
                                            .add(jTxtSkapaOchUppdateraProduktionInspelningsStart, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                            .add(jLblSkapaOchUppdateraProduktionInspelningsSlut)
                                            .add(jTxtSkapaOchUppdateraProduktionInspelningsSlut, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(jLabel6)))
                                    .add(jLabel5))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraProduktionGenre)
                                    .add(jTxtSkapaOchUppdateraProduktionGenre, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(jTPanSkapaOchUppdateraProduktionerLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                                    .add(jLblSkapaOchUppdateraProduktionGenre1)
                                    .add(jTxtSkapaOchUppdateraProduktionPID, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .add(113, 113, 113)
                                .add(jLblSkapaOchUppdateraProduktionError, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 52, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jTPanSkapaOchUppdateraProduktionerLayout.createSequentialGroup()
                                .add(11, 11, 11)
                                .add(jLstSkapaOchUppdateraProduktionLista, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 308, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
                .add(31, 31, 31)
                .add(jBtnSkapaOchUppdateraProduktionFirst)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jBtnSkapaOchUppdateraProduktionSecond)
                .addContainerGap(34, Short.MAX_VALUE))
        );

        jTPanSkapaOchUppdatera.addTab("Produktioner", jTPanSkapaOchUppdateraProduktioner);

        jTPanSkapaOchUppdateraFormagor.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraFormagorComponentShown(evt);
            }
        });
        jTPanSkapaOchUppdateraFormagor.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel61.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
        jLabel61.setText("Förmågor");
        jTPanSkapaOchUppdateraFormagor.add(jLabel61, new org.netbeans.lib.awtextra.AbsoluteConstraints(45, 11, -1, -1));

        jLblSkapaOchUppdateraFormagaNamn.setText("Namn");
        jTPanSkapaOchUppdateraFormagor.add(jLblSkapaOchUppdateraFormagaNamn, new org.netbeans.lib.awtextra.AbsoluteConstraints(287, 42, -1, -1));
        jTPanSkapaOchUppdateraFormagor.add(jTxtSkapaOchUppdateraFormagaNamn, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 40, 390, -1));
        jTPanSkapaOchUppdateraFormagor.add(filler5, new org.netbeans.lib.awtextra.AbsoluteConstraints(41, 44, -1, -1));

        jLblSkapaOchUppdateraFormagaBeskrivning.setText("Beskrivning");
        jTPanSkapaOchUppdateraFormagor.add(jLblSkapaOchUppdateraFormagaBeskrivning, new org.netbeans.lib.awtextra.AbsoluteConstraints(287, 65, -1, -1));

        jTxtSkapaOchUppdateraFormagaBeskrivning.setColumns(20);
        jTxtSkapaOchUppdateraFormagaBeskrivning.setLineWrap(true);
        jTxtSkapaOchUppdateraFormagaBeskrivning.setRows(5);
        jScrollPane11.setViewportView(jTxtSkapaOchUppdateraFormagaBeskrivning);

        jTPanSkapaOchUppdateraFormagor.add(jScrollPane11, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 70, 390, 290));

        jLstSkapaOchUppdateraFormagaLista.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jLstSkapaOchUppdateraFormagaListaItemStateChanged(evt);
            }
        });
        jTPanSkapaOchUppdateraFormagor.add(jLstSkapaOchUppdateraFormagaLista, new org.netbeans.lib.awtextra.AbsoluteConstraints(41, 44, 223, 330));

        jBtnSkapaOchUppdateraFormagaFirst.setText("Ändra förmåga");
        jBtnSkapaOchUppdateraFormagaFirst.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraFormagaFirstActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraFormagor.add(jBtnSkapaOchUppdateraFormagaFirst, new org.netbeans.lib.awtextra.AbsoluteConstraints(73, 419, 166, -1));

        jBtnSkapaOchUppdateraFormagaSecond.setText("Lägg till ny förmåga");
        jBtnSkapaOchUppdateraFormagaSecond.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraFormagaSecondActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraFormagor.add(jBtnSkapaOchUppdateraFormagaSecond, new org.netbeans.lib.awtextra.AbsoluteConstraints(73, 448, 166, -1));

        jTxtSkapaOchUppdateraFormagaFID.setEditable(false);
        jTxtSkapaOchUppdateraFormagaFID.setBackground(new java.awt.Color(204, 204, 204));
        jTPanSkapaOchUppdateraFormagor.add(jTxtSkapaOchUppdateraFormagaFID, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 370, 160, -1));

        jLblSkapaOchUppdateraFormagaFID.setText("FID");
        jTPanSkapaOchUppdateraFormagor.add(jLblSkapaOchUppdateraFormagaFID, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 370, -1, -1));

        jLblSkapaOchUppdateraFormagaError.setText("ErrorText");
        jTPanSkapaOchUppdateraFormagor.add(jLblSkapaOchUppdateraFormagaError, new org.netbeans.lib.awtextra.AbsoluteConstraints(350, 400, 304, 52));

        jBtnSkapaOchUppdateraFormagaRensaFalt.setText("Rensa fält");
        jBtnSkapaOchUppdateraFormagaRensaFalt.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSkapaOchUppdateraFormagaRensaFaltActionPerformed(evt);
            }
        });
        jTPanSkapaOchUppdateraFormagor.add(jBtnSkapaOchUppdateraFormagaRensaFalt, new org.netbeans.lib.awtextra.AbsoluteConstraints(680, 10, -1, -1));

        jTPanSkapaOchUppdatera.addTab("Förmågor", jTPanSkapaOchUppdateraFormagor);

        org.jdesktop.layout.GroupLayout jPanTillsattSkadespelareLayout = new org.jdesktop.layout.GroupLayout(jPanTillsattSkadespelare);
        jPanTillsattSkadespelare.setLayout(jPanTillsattSkadespelareLayout);
        jPanTillsattSkadespelareLayout.setHorizontalGroup(
            jPanTillsattSkadespelareLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jTPanSkapaOchUppdatera, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 878, Short.MAX_VALUE)
            .add(jPanTillsattSkadespelareLayout.createSequentialGroup()
                .add(77, 77, 77)
                .add(jLabel21)
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanTillsattSkadespelareLayout.setVerticalGroup(
            jPanTillsattSkadespelareLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanTillsattSkadespelareLayout.createSequentialGroup()
                .addContainerGap()
                .add(jLabel21)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jTPanSkapaOchUppdatera, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 477, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
        );

        jTPanSkapaOchUppdatera.getAccessibleContext().setAccessibleDescription("");

        Menu.addTab("Skapa och uppdatera", jPanTillsattSkadespelare);

        jLabel22.setFont(new java.awt.Font("Arial", 0, 24)); // NOI18N
        jLabel22.setText("Sök och matcha skådespelare med roller");

        jTPanSokOchMatcha.setTabPlacement(javax.swing.JTabbedPane.LEFT);
        jTPanSokOchMatcha.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                jTPanSokOchMatchaMousePressed(evt);
            }
        });
        jTPanSokOchMatcha.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSokOchMatchaComponentShown(evt);
            }
        });

        jTPanSkapaOchUppdateraSkadespelare1.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraSkadespelare1ComponentShown(evt);
            }
        });
        jTPanSkapaOchUppdateraSkadespelare1.setLayout(null);
        jTPanSkapaOchUppdateraSkadespelare1.add(filler6);
        filler6.setBounds(305, 151, 0, 0);

        list2.setMultipleMode(true);

        list1.setMultipleMode(true);

        jButtonSokOchMatchaRemoveFormagaFromFilter.setFont(new java.awt.Font("Arial Black", 1, 12)); // NOI18N
        jButtonSokOchMatchaRemoveFormagaFromFilter.setText("<");
        jButtonSokOchMatchaRemoveFormagaFromFilter.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonSokOchMatchaRemoveFormagaFromFilterActionPerformed(evt);
            }
        });

        jButtonSokOchMatchaSokIncludeFormagaToSearch.setFont(new java.awt.Font("Arial Black", 1, 12)); // NOI18N
        jButtonSokOchMatchaSokIncludeFormagaToSearch.setText(">");
        jButtonSokOchMatchaSokIncludeFormagaToSearch.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonSokOchMatchaSokIncludeFormagaToSearchActionPerformed(evt);
            }
        });

        jButtonSokOchMatchaSokResetAllForms.setText("Reset");
        jButtonSokOchMatchaSokResetAllForms.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButtonSokOchMatchaSokResetAllFormsActionPerformed(evt);
            }
        });

        jBtnSokOchMatchaSok.setText("Sök");
        jBtnSokOchMatchaSok.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnSokOchMatchaSokActionPerformed(evt);
            }
        });

        jLblSokOchMatchaSokKon.setText("Kön");

        jCmbBoxSokOchMatchaSokKon1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Man", "Kvinna", "Annat" }));
        jCmbBoxSokOchMatchaSokKon1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCmbBoxSokOchMatchaSokKon1ActionPerformed(evt);
            }
        });

        jLblSokOchMatchaSokHarfarg1.setText("Hårfärg");

        jCmbBoxSokOchMatchaSokHarfarg1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Brun", "Blond", "Svart", "Röd", "Vit", "Andra färger", "Eget" }));

        jLblSokOchMatchaSokOgonfarg1.setText("Ögonfärg");

        jCmbBoxSokOchMatchaSokOgonfarg1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Välj", "Brun", "Blå", "Grön", "Blå-grön", "Gul", "Eget" }));
        jCmbBoxSokOchMatchaSokOgonfarg1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCmbBoxSokOchMatchaSokOgonfarg1ActionPerformed(evt);
            }
        });

        jLblSokOchMatchaSokAlder1.setText("Ålder");

        jTxtSokOchMatchaSokAlder1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSokOchMatchaSokAlder1KeyReleased(evt);
            }
        });

        jLblSokOchMatchaSokLangd1.setText("Längd (cm)");

        jTxtSokOchMatchaSokLangd1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSokOchMatchaSokLangd1KeyReleased(evt);
            }
        });

        jLblSokOchMatchaSokVikt1.setText("Vikt (kg)");

        jTxtSokOchMatchaSokVikt1.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSokOchMatchaSokVikt1KeyReleased(evt);
            }
        });

        jLblSokOchMatchaSokSokTerm.setText("Sökterm");

        jTxtSokOchMatchaSokLangd2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSokOchMatchaSokLangd2KeyReleased(evt);
            }
        });

        jTxtSokOchMatchaSokVikt2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSokOchMatchaSokVikt2KeyReleased(evt);
            }
        });

        jTxtSokOchMatchaSokAlder2.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTxtSokOchMatchaSokAlder2KeyReleased(evt);
            }
        });

        jLblSokOchMatchaSokAlder2.setText("  -");

        jLblSokOchMatchaSokAlder3.setText("  -");

        jLblSokOchMatchaSokAlder4.setText("  -");

        jLblSokOchMatchaSokVikt3.setText("Välj dom förmågor som den du söker ska ha.");

        org.jdesktop.layout.GroupLayout jPanelSearchEngineLayout = new org.jdesktop.layout.GroupLayout(jPanelSearchEngine);
        jPanelSearchEngine.setLayout(jPanelSearchEngineLayout);
        jPanelSearchEngineLayout.setHorizontalGroup(
            jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanelSearchEngineLayout.createSequentialGroup()
                .addContainerGap()
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanelSearchEngineLayout.createSequentialGroup()
                        .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(jPanelSearchEngineLayout.createSequentialGroup()
                                    .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                        .add(jPanelSearchEngineLayout.createSequentialGroup()
                                            .add(jLblSokOchMatchaSokVikt1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                            .add(jTxtSokOchMatchaSokVikt1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 57, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                        .add(jPanelSearchEngineLayout.createSequentialGroup()
                                            .add(list1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 100, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                                .add(jPanelSearchEngineLayout.createSequentialGroup()
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(jButtonSokOchMatchaRemoveFormagaFromFilter))
                                                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanelSearchEngineLayout.createSequentialGroup()
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                    .add(jButtonSokOchMatchaSokIncludeFormagaToSearch)))))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .add(list2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 100, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(29, 29, 29))
                                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanelSearchEngineLayout.createSequentialGroup()
                                    .add(0, 0, Short.MAX_VALUE)
                                    .add(jLblSokOchMatchaSokVikt3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 247, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(28, 28, 28))
                                .add(jPanelSearchEngineLayout.createSequentialGroup()
                                    .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                        .add(jPanelSearchEngineLayout.createSequentialGroup()
                                            .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                                .add(jLblSokOchMatchaSokSokTerm, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 58, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                .add(jLblSokOchMatchaSokKon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 50, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                            .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                                .add(jCmbBoxSokOchMatchaSokKon1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                .add(jPanelSearchEngineLayout.createSequentialGroup()
                                                    .add(jTxtFieldSokOchMatchaSokTerm, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                    .add(jBtnSokOchMatchaSok))))
                                        .add(jPanelSearchEngineLayout.createSequentialGroup()
                                            .add(jLblSokOchMatchaSokLangd1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 70, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                            .add(68, 68, 68)
                                            .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                                .add(jPanelSearchEngineLayout.createSequentialGroup()
                                                    .add(jLblSokOchMatchaSokAlder4)
                                                    .add(18, 18, 18)
                                                    .add(jTxtSokOchMatchaSokVikt2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                                .add(jPanelSearchEngineLayout.createSequentialGroup()
                                                    .add(jLblSokOchMatchaSokAlder3)
                                                    .add(18, 18, 18)
                                                    .add(jTxtSokOchMatchaSokLangd2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                            .add(jPanelSearchEngineLayout.createSequentialGroup()
                                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                    .add(jPanelSearchEngineLayout.createSequentialGroup()
                                        .add(jLblSokOchMatchaSokAlder1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                        .add(jTxtSokOchMatchaSokAlder1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 56, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                    .add(jTxtSokOchMatchaSokLangd1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 57, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                .add(18, 18, 18)
                                .add(jLblSokOchMatchaSokAlder2)
                                .add(18, 18, 18)
                                .add(jTxtSokOchMatchaSokAlder2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(66, 66, 66)))
                        .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jButtonSokOchMatchaSokResetAllForms, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 63, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblSokOchMatchaSokErrorLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 431, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .add(jPanelSearchEngineLayout.createSequentialGroup()
                        .add(jLblSokOchMatchaSokHarfarg1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 50, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(jCmbBoxSokOchMatchaSokHarfarg1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .add(jPanelSearchEngineLayout.createSequentialGroup()
                        .add(jLblSokOchMatchaSokOgonfarg1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 60, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jCmbBoxSokOchMatchaSokOgonfarg1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 170, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(0, 0, Short.MAX_VALUE))))
        );
        jPanelSearchEngineLayout.setVerticalGroup(
            jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanelSearchEngineLayout.createSequentialGroup()
                .addContainerGap()
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLblSokOchMatchaSokSokTerm)
                    .add(jTxtFieldSokOchMatchaSokTerm, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jBtnSokOchMatchaSok)
                    .add(jButtonSokOchMatchaSokResetAllForms))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLblSokOchMatchaSokKon)
                    .add(jCmbBoxSokOchMatchaSokKon1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLblSokOchMatchaSokHarfarg1)
                    .add(jCmbBoxSokOchMatchaSokHarfarg1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLblSokOchMatchaSokOgonfarg1)
                    .add(jCmbBoxSokOchMatchaSokOgonfarg1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(36, 36, 36)
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(jLblSokOchMatchaSokAlder1)
                    .add(jTxtSokOchMatchaSokAlder1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jTxtSokOchMatchaSokAlder2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jLblSokOchMatchaSokAlder2))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanelSearchEngineLayout.createSequentialGroup()
                        .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSokOchMatchaSokLangd1)
                            .add(jTxtSokOchMatchaSokLangd1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jTxtSokOchMatchaSokLangd2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblSokOchMatchaSokAlder3))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                            .add(jLblSokOchMatchaSokVikt1)
                            .add(jTxtSokOchMatchaSokVikt2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jLblSokOchMatchaSokAlder4)
                            .add(jTxtSokOchMatchaSokVikt1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(0, 0, Short.MAX_VALUE))
                    .add(jLblSokOchMatchaSokErrorLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .add(18, 18, 18)
                .add(jLblSokOchMatchaSokVikt3)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanelSearchEngineLayout.createSequentialGroup()
                        .add(24, 24, 24)
                        .add(jButtonSokOchMatchaRemoveFormagaFromFilter, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(jButtonSokOchMatchaSokIncludeFormagaToSearch, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 20, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jPanelSearchEngineLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                        .add(list1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 130, Short.MAX_VALUE)
                        .add(list2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .add(70, 70, 70))
        );

        jLblSokOchMatchaSokErrorLabel.getAccessibleContext().setAccessibleName("");

        jPanelSearchEngine.setBounds(0, 0, 744, 460);
        jLayeredPane2.add(jPanelSearchEngine, javax.swing.JLayeredPane.DEFAULT_LAYER);

        label4.setText("Tidigare Föreslagna Roller");

        label1.setPreferredSize(new java.awt.Dimension(86, 20));
        label1.setText("Tidigare Roller");

        SearchResultAndEarlierProductionsSkadespelare.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                SearchResultAndEarlierProductionsSkadespelareMouseReleased(evt);
            }
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                SearchResultAndEarlierProductionsSkadespelareMouseClicked(evt);
            }
            public void mousePressed(java.awt.event.MouseEvent evt) {
                SearchResultAndEarlierProductionsSkadespelareMousePressed(evt);
            }
        });
        SearchResultAndEarlierProductionsSkadespelare.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SearchResultAndEarlierProductionsSkadespelareActionPerformed(evt);
            }
        });

        label3.setText("Förmågor");

        label2.setText("Namn & Beskrivning");

        DynamicLabelSearchAndEarlierProd.setText("Sökresultat");

        BackToSearchResult.setLabel("Tillbaka till Sökresultaten");
        BackToSearchResult.setName(""); // NOI18N
        BackToSearchResult.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BackToSearchResultActionPerformed(evt);
            }
        });

        btnBackToSearchEngine.setLabel("Tillbaka till Sökmotorn");
        btnBackToSearchEngine.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnBackToSearchEngineActionPerformed(evt);
            }
        });

        NameAndDescriptionSkadespelare.setColumns(20);
        NameAndDescriptionSkadespelare.setRows(5);
        jScrollPane1.setViewportView(NameAndDescriptionSkadespelare);

        org.jdesktop.layout.GroupLayout jPanelSearchResultAndMatchRolesLayout = new org.jdesktop.layout.GroupLayout(jPanelSearchResultAndMatchRoles);
        jPanelSearchResultAndMatchRoles.setLayout(jPanelSearchResultAndMatchRolesLayout);
        jPanelSearchResultAndMatchRolesLayout.setHorizontalGroup(
            jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                        .addContainerGap()
                        .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(listSuggestedForTheseRoles, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 165, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(label4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 169, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(4, 4, 4)
                        .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(label1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 152, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(EarlierRoles, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 157, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(SearchResultAndEarlierProductionsSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 195, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(DynamicLabelSearchAndEarlierProd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 175, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .add(jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                        .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(btnBackToSearchEngine, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(21, 21, 21)))
                .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(BackToSearchResult, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                        .add(label2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 120, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(SkadespelareFormagar, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 210, Short.MAX_VALUE)
                        .add(label3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 110, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jScrollPane1)))
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelSearchResultAndMatchRolesLayout.setVerticalGroup(
            jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                .add(14, 14, 14)
                .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(BackToSearchResult, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(btnBackToSearchEngine, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                        .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                .add(label4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(label1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(label2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .add(14, 14, 14))
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                        .add(DynamicLabelSearchAndEarlierProd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
                .add(jPanelSearchResultAndMatchRolesLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(EarlierRoles, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(jPanelSearchResultAndMatchRolesLayout.createSequentialGroup()
                        .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 158, Short.MAX_VALUE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(label3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(SkadespelareFormagar, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 160, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(10, 10, 10))
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, listSuggestedForTheseRoles, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .add(SearchResultAndEarlierProductionsSkadespelare, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                .addContainerGap())
        );

        jPanelSearchResultAndMatchRoles.setBounds(0, 0, 770, 460);
        jLayeredPane2.add(jPanelSearchResultAndMatchRoles, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTPanSkapaOchUppdateraSkadespelare1.add(jLayeredPane2);
        jLayeredPane2.setBounds(10, 10, 770, 460);

        jTPanSokOchMatcha.addTab("Sök", jTPanSkapaOchUppdateraSkadespelare1);

        jTPanSkapaOchUppdateraAgenter1.addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentShown(java.awt.event.ComponentEvent evt) {
                jTPanSkapaOchUppdateraAgenter1ComponentShown(evt);
            }
        });

        lstProductionsSokOchMatchaMatcha.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                lstProductionsSokOchMatchaMatchaMouseReleased(evt);
            }
        });
        lstProductionsSokOchMatchaMatcha.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                lstProductionsSokOchMatchaMatchaActionPerformed(evt);
            }
        });

        lstRolesSokOchMatchaMatcha.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                lstRolesSokOchMatchaMatchaMouseReleased(evt);
            }
        });
        lstRolesSokOchMatchaMatcha.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                lstRolesSokOchMatchaMatchaActionPerformed(evt);
            }
        });

        lstSkadespelareSomMatcharSokOchMatchaMatcha.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseReleased(java.awt.event.MouseEvent evt) {
                lstSkadespelareSomMatcharSokOchMatchaMatchaMouseReleased(evt);
            }
        });

        label5.setText("Steg1: Välj en produktion");

        label6.setText("Steg 2: Välj en roll");

        label7.setText("Skådespelare som matchar");

        label8.setFont(new java.awt.Font("Dialog", 1, 36)); // NOI18N
        label8.setText(">");

        label9.setFont(new java.awt.Font("Dialog", 1, 36)); // NOI18N
        label9.setText(">");

        btnResetSokOchMatchaMatcha.setText("Reset");
        btnResetSokOchMatchaMatcha.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnResetSokOchMatchaMatchaActionPerformed(evt);
            }
        });

        chkMatchaMedAlder.setLabel("Matcha Ålder");
        chkMatchaMedAlder.setState(true);
        chkMatchaMedAlder.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                chkMatchaMedAlderItemStateChanged(evt);
            }
        });

        chkMatchaMedKon.setLabel("Matcha Kön");
        chkMatchaMedKon.setState(true);
        chkMatchaMedKon.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                chkMatchaMedKonItemStateChanged(evt);
            }
        });

        chkMatchaMedHarfarg.setLabel("Matcha Hårfärg");
        chkMatchaMedHarfarg.setState(true);
        chkMatchaMedHarfarg.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                chkMatchaMedHarfargItemStateChanged(evt);
            }
        });

        chkMatchaMedLangd.setLabel("Matcha Längd");
        chkMatchaMedLangd.setState(true);
        chkMatchaMedLangd.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                chkMatchaMedLangdItemStateChanged(evt);
            }
        });

        chkMatchaMedVikt.setLabel("Matcha Vikt");
        chkMatchaMedVikt.setState(true);
        chkMatchaMedVikt.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                chkMatchaMedViktItemStateChanged(evt);
            }
        });

        label10.setText("Föreslagna skådespelare");

        btnUpdateSkadePelareForslagenRoll.setText("Acceptera");
        btnUpdateSkadePelareForslagenRoll.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnUpdateSkadePelareForslagenRollActionPerformed(evt);
            }
        });

        jTxtArea.setColumns(20);
        jTxtArea.setFont(new java.awt.Font("Arial", 0, 10)); // NOI18N
        jTxtArea.setRows(5);
        jTxtArea.setText("Tryck på knappen \"Acceptera\" \nom du vill att skådespelarna \nsom blev föreslagna ska\nläggas in i tabellen:\nSKADEPELARE_\nFORSLAGEN_\nROLL");
        jTxtForeslagenRollBeskrivningSokOchMatchaMatcha.setViewportView(jTxtArea);

        org.jdesktop.layout.GroupLayout jTPanSkapaOchUppdateraAgenter1Layout = new org.jdesktop.layout.GroupLayout(jTPanSkapaOchUppdateraAgenter1);
        jTPanSkapaOchUppdateraAgenter1.setLayout(jTPanSkapaOchUppdateraAgenter1Layout);
        jTPanSkapaOchUppdateraAgenter1Layout.setHorizontalGroup(
            jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                .add(303, 303, 303)
                .add(btnResetSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 91, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                .addContainerGap()
                .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(label5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 162, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(filler7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(lstProductionsSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 157, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(25, 25, 25)
                        .add(label8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .add(41, 41, 41)
                .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(lstRolesSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 162, Short.MAX_VALUE)
                            .add(label6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 162, Short.MAX_VALUE))
                        .add(35, 35, 35)
                        .add(label9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(chkMatchaMedAlder, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(chkMatchaMedKon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(chkMatchaMedLangd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(chkMatchaMedVikt, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 38, Short.MAX_VALUE)
                        .add(btnUpdateSkadePelareForslagenRoll))
                    .add(chkMatchaMedHarfarg, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(label7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .add(96, 96, 96))
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(org.jdesktop.layout.GroupLayout.LEADING, lstForeslagnaRollerSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(label10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(lstSkadespelareSomMatcharSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTxtForeslagenRollBeskrivningSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 173, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(112, 112, 112))))
        );
        jTPanSkapaOchUppdateraAgenter1Layout.setVerticalGroup(
            jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                .add(21, 21, 21)
                .add(btnResetSokOchMatchaMatcha)
                .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(org.jdesktop.layout.GroupLayout.TRAILING, label5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(org.jdesktop.layout.GroupLayout.TRAILING, jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(filler7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(label6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(label7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                        .add(4, 4, 4)
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(lstSkadespelareSomMatcharSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 226, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(lstRolesSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 226, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(lstProductionsSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 226, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                                .add(66, 66, 66)
                                .add(label8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(100, 100, 100)
                        .add(label9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(chkMatchaMedAlder, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(label10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                            .add(lstForeslagnaRollerSokOchMatchaMatcha, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
                            .add(jTxtForeslagenRollBeskrivningSokOchMatchaMatcha)))
                    .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                        .add(2, 2, 2)
                        .add(chkMatchaMedKon, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(1, 1, 1)
                        .add(chkMatchaMedHarfarg, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jTPanSkapaOchUppdateraAgenter1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                .add(btnUpdateSkadePelareForslagenRoll))
                            .add(jTPanSkapaOchUppdateraAgenter1Layout.createSequentialGroup()
                                .add(2, 2, 2)
                                .add(chkMatchaMedLangd, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                .add(2, 2, 2)
                                .add(chkMatchaMedVikt, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(14, Short.MAX_VALUE))
        );

        jTPanSokOchMatcha.addTab("Matcha", jTPanSkapaOchUppdateraAgenter1);

        org.jdesktop.layout.GroupLayout jPanTillsattSkadespelare1Layout = new org.jdesktop.layout.GroupLayout(jPanTillsattSkadespelare1);
        jPanTillsattSkadespelare1.setLayout(jPanTillsattSkadespelare1Layout);
        jPanTillsattSkadespelare1Layout.setHorizontalGroup(
            jPanTillsattSkadespelare1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jTPanSokOchMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 878, Short.MAX_VALUE)
            .add(jPanTillsattSkadespelare1Layout.createSequentialGroup()
                .add(77, 77, 77)
                .add(jLabel22)
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanTillsattSkadespelare1Layout.setVerticalGroup(
            jPanTillsattSkadespelare1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanTillsattSkadespelare1Layout.createSequentialGroup()
                .addContainerGap()
                .add(jLabel22)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jTPanSokOchMatcha, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 477, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
        );

        Menu.addTab("Sök och matcha", jPanTillsattSkadespelare1);

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .add(Menu)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .add(Menu, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 551, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(4, 4, 4))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
        //When the window has loaded, also initialize this.
        F.WindowOpened();
    }//GEN-LAST:event_formWindowOpened

    private void jLblTillsattSkadespelare3MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLblTillsattSkadespelare3MousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Skapa och uppdatera"));
        jTPanSkapaOchUppdatera.setSelectedIndex(jTPanSkapaOchUppdatera.indexOfTab("Förmågor"));
    }//GEN-LAST:event_jLblTillsattSkadespelare3MousePressed

    private void jLblTillsattSkadespelare2MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLblTillsattSkadespelare2MousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Skapa och uppdatera"));
        jTPanSkapaOchUppdatera.setSelectedIndex(jTPanSkapaOchUppdatera.indexOfTab("Produktioner"));
    }//GEN-LAST:event_jLblTillsattSkadespelare2MousePressed

    private void jLblTillsattSkadespelare1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLblTillsattSkadespelare1MousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Skapa och uppdatera"));
        jTPanSkapaOchUppdatera.setSelectedIndex(jTPanSkapaOchUppdatera.indexOfTab("Roller"));
    }//GEN-LAST:event_jLblTillsattSkadespelare1MousePressed

    private void jLblSkadespelareMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLblSkadespelareMousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Sök och matcha"));
        jTPanSokOchMatcha.setSelectedIndex(jTPanSokOchMatcha.indexOfTab("Matcha"));
    }//GEN-LAST:event_jLblSkadespelareMousePressed

    private void jlblSkadespelareTillRollMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jlblSkadespelareTillRollMousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Skapa och uppdatera"));
        jTPanSkapaOchUppdatera.setSelectedIndex(jTPanSkapaOchUppdatera.indexOfTab("Skådespelare"));
    }//GEN-LAST:event_jlblSkadespelareTillRollMousePressed

    private void jLabel1MousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel1MousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("jPanTillsattSkadespelare"));
    }//GEN-LAST:event_jLabel1MousePressed

    private void jLblTillsattSkadespelareMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLblTillsattSkadespelareMousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Skapa och uppdatera"));
        jTPanSkapaOchUppdatera.setSelectedIndex(jTPanSkapaOchUppdatera.indexOfTab("Agenter"));
    }//GEN-LAST:event_jLblTillsattSkadespelareMousePressed

    private void jLblProduktionMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLblProduktionMousePressed
        Menu.setSelectedIndex(Menu.indexOfTab("Sök och matcha"));
    }//GEN-LAST:event_jLblProduktionMousePressed

    private void jTPanSkapaOchUppdateraMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraMousePressed

    }//GEN-LAST:event_jTPanSkapaOchUppdateraMousePressed

    private void jTPanSkapaOchUppdateraFormagorComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraFormagorComponentShown
        F.FormagaEditable(false);
        F.FormagaRefreshList();
    }//GEN-LAST:event_jTPanSkapaOchUppdateraFormagorComponentShown

    private void jBtnSkapaOchUppdateraFormagaSecondActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraFormagaSecondActionPerformed
        F.ClickSkapaOchUppdateraFormagaSecondButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraFormagaSecondActionPerformed

    private void jBtnSkapaOchUppdateraFormagaFirstActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraFormagaFirstActionPerformed
        F.ClickSkapaOchUppdateraFormagaFirstButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraFormagaFirstActionPerformed

    private void jTPanSkapaOchUppdateraProduktionerComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraProduktionerComponentShown
        F.ProduktionEditable(false);
        F.ProduktionRefreshList();
    }//GEN-LAST:event_jTPanSkapaOchUppdateraProduktionerComponentShown

    private void jBtnSkapaOchUppdateraProduktionSecondActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraProduktionSecondActionPerformed
        F.ClickSkapaOchUppdateraProduktionSecondButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraProduktionSecondActionPerformed

    private void jBtnSkapaOchUppdateraProduktionFirstActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraProduktionFirstActionPerformed
        F.ClickSkapaOchUppdateraProduktionFirstButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraProduktionFirstActionPerformed

    private void jTPanSkapaOchUppdateraRollerComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraRollerComponentShown
        F.RollEditable(false);
        F.RollRefreshList();
    }//GEN-LAST:event_jTPanSkapaOchUppdateraRollerComponentShown

    private void jBtnSkapaOchUppdateraRollFirstActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraRollFirstActionPerformed
        F.ClickSkapaOchUppdateraRollFirstButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraRollFirstActionPerformed

    private void jBtnSkapaOchUppdateraRollSecondActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraRollSecondActionPerformed
        F.ClickSkapaOchUppdateraRollSecondButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraRollSecondActionPerformed

    private void jTxtSkapaOchUppdateraRollViktKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraRollViktKeyReleased
        // TODO add your handling code here:
    }//GEN-LAST:event_jTxtSkapaOchUppdateraRollViktKeyReleased

    private void jTxtSkapaOchUppdateraRollLangdKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraRollLangdKeyReleased
        // TODO add your handling code here:
    }//GEN-LAST:event_jTxtSkapaOchUppdateraRollLangdKeyReleased

    private void jTxtSkapaOchUppdateraRollAlderKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraRollAlderKeyReleased
        // TODO add your handling code here:
    }//GEN-LAST:event_jTxtSkapaOchUppdateraRollAlderKeyReleased

    private void jTPanSkapaOchUppdateraAgenterComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraAgenterComponentShown
        F.AgentEditable(false);
        F.AgentRefreshList();
    }//GEN-LAST:event_jTPanSkapaOchUppdateraAgenterComponentShown

    private void jBtnSkapaOchUppdateraAgentSecondActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraAgentSecondActionPerformed
        F.ClickSkapaOchUppdateraAgentSecondButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraAgentSecondActionPerformed

    private void jBtnSkapaOchUppdateraAgentFirstActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraAgentFirstActionPerformed
        F.ClickSkapaOchUppdateraAgentFirstButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraAgentFirstActionPerformed

    private void jTPanSkapaOchUppdateraSkadespelareComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraSkadespelareComponentShown
        F.SkadespelareResetFields();
        F.SkadespelareEditable(false);
        F.SkadespelareRefreshTabValues();
    }//GEN-LAST:event_jTPanSkapaOchUppdateraSkadespelareComponentShown

    private void jTxtSkapaOchUppdateraSkadespelareShowSIDKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraSkadespelareShowSIDKeyReleased
        // TODO add your handling code here:
    }//GEN-LAST:event_jTxtSkapaOchUppdateraSkadespelareShowSIDKeyReleased

    private void jBtnSkapaOchUppdateraSkadespelareSecondActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraSkadespelareSecondActionPerformed
        F.ClickSkapaOchUppdateraSkadespelareSecondButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraSkadespelareSecondActionPerformed

    private void jBtnSkapaOchUppdateraSkadespelareFirstActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraSkadespelareFirstActionPerformed
        F.ClickSkapaOchUppdateraSkadespelareFirstButton();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraSkadespelareFirstActionPerformed

    private void jTxtSkapaOchUppdateraSkadespelareShowAgentKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraSkadespelareShowAgentKeyReleased
        // TODO add your handling code here:
    }//GEN-LAST:event_jTxtSkapaOchUppdateraSkadespelareShowAgentKeyReleased

    private void jLstSkapaOchUppdateraSkadespelareListaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraSkadespelareListaItemStateChanged
        F.SkadespelareSelect(jLstSkapaOchUppdateraSkadespelareLista.getSelectedIndex());
        F.SkadespelareResetValidateColors();
    }//GEN-LAST:event_jLstSkapaOchUppdateraSkadespelareListaItemStateChanged

    private void jTxtSkapaOchUppdateraSkadespelareViktKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraSkadespelareViktKeyReleased
        Text.isNumberColoredError(jTxtSkapaOchUppdateraSkadespelareVikt);
    }//GEN-LAST:event_jTxtSkapaOchUppdateraSkadespelareViktKeyReleased

    private void jTxtSkapaOchUppdateraSkadespelareLangdKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraSkadespelareLangdKeyReleased
        Text.isNumberColoredError(jTxtSkapaOchUppdateraSkadespelareLangd);
    }//GEN-LAST:event_jTxtSkapaOchUppdateraSkadespelareLangdKeyReleased

    private void jTxtSkapaOchUppdateraSkadespelareAlderKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSkapaOchUppdateraSkadespelareAlderKeyReleased
        Text.isNumberColoredError(jTxtSkapaOchUppdateraSkadespelareAlder);
    }//GEN-LAST:event_jTxtSkapaOchUppdateraSkadespelareAlderKeyReleased

    private void jBtnSkapaOchUppdateraSkadespelareRensaFaltActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraSkadespelareRensaFaltActionPerformed
        F.ClickSkapaOchUppdateraSkadespelareRensaFalt();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraSkadespelareRensaFaltActionPerformed

    private void jLstSkapaOchUppdateraFormagaListaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraFormagaListaItemStateChanged
        F.FormagaSelect(jLstSkapaOchUppdateraFormagaLista.getSelectedIndex());
    }//GEN-LAST:event_jLstSkapaOchUppdateraFormagaListaItemStateChanged

    private void jLstSkapaOchUppdateraRollListaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraRollListaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jLstSkapaOchUppdateraRollListaActionPerformed

    private void jBtnSkapaOchUppdateraFormagaRensaFaltActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraFormagaRensaFaltActionPerformed
        F.FormagaRensaFalt();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraFormagaRensaFaltActionPerformed

    private void jLstSkapaOchUppdateraProduktionListaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraProduktionListaItemStateChanged
        F.ProduktionSelect(jLstSkapaOchUppdateraProduktionLista.getSelectedIndex());
    }//GEN-LAST:event_jLstSkapaOchUppdateraProduktionListaItemStateChanged

    private void jLstSkapaOchUppdateraAgentListaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraAgentListaItemStateChanged
        F.AgentSelect(jLstSkapaOchUppdateraAgentLista.getSelectedIndex());
    }//GEN-LAST:event_jLstSkapaOchUppdateraAgentListaItemStateChanged

    private void formComponentMoved(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentMoved
        //Event that is triggered if the JFrame ECA (Our main window) has been moved.
        F.SkadespelareProfilForm.setLocationRelativeTo(this);
        //Ensure that the JFrame SkadespelareProfil is centered relative to the mainwindow's position on the screen.
    }//GEN-LAST:event_formComponentMoved

    private void formComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentResized
        //Event that is triggered if the JFrame ECA (Our main window) has been resized.
        F.SkadespelareProfilForm.setLocationRelativeTo(this);
        //Ensure that the JFrame SkadespelareProfil is centered relative to the mainwindow's position on the screen.
    }//GEN-LAST:event_formComponentResized

    private void jLstSkapaOchUppdateraRollListaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraRollListaItemStateChanged
        F.RollSelect(jLstSkapaOchUppdateraRollLista.getSelectedIndex());
    }//GEN-LAST:event_jLstSkapaOchUppdateraRollListaItemStateChanged

    private void jBtnSkapaOchUppdateraAgentRensaFaltActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraAgentRensaFaltActionPerformed
        F.AgentRensaFalt();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraAgentRensaFaltActionPerformed

    private void jBtnSkapaOchUppdateraRollRensaFaltActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraRollRensaFaltActionPerformed
        F.RollRensaFalt();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraRollRensaFaltActionPerformed

    private void jBtnSkapaOchUppdateraProduktionRensaFaltActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraProduktionRensaFaltActionPerformed
        
    }//GEN-LAST:event_jBtnSkapaOchUppdateraProduktionRensaFaltActionPerformed

    private void jTPanSokOchMatchaComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSokOchMatchaComponentShown
        
    }//GEN-LAST:event_jTPanSokOchMatchaComponentShown

    private void jTPanSokOchMatchaMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTPanSokOchMatchaMousePressed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTPanSokOchMatchaMousePressed

    private void jTPanSkapaOchUppdateraAgenter1ComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraAgenter1ComponentShown
        // TODO add your handling code here:
    }//GEN-LAST:event_jTPanSkapaOchUppdateraAgenter1ComponentShown

    private void chkMatchaMedViktItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_chkMatchaMedViktItemStateChanged
        if (lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll(); //Clear the list first before we run the rest
            //To prevent duplicates.
            String RollName = lstRolesSokOchMatchaMatcha.getSelectedItem().toString(); //Assign the rollNamn be obtained from selecting a role name in the list, to
            //RollName in ECAFunctions. So we can use it in the method in the try-catch block.
            
            
            F.FillUpSkadespelareSomMatcharRollInSokOchMatchaMatcha(RollName);
            
            
        // [8.1.1]
        
        }
    }//GEN-LAST:event_chkMatchaMedViktItemStateChanged

    private void chkMatchaMedLangdItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_chkMatchaMedLangdItemStateChanged
        if (lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll(); //Clear the list first before we run the rest
            //To prevent duplicates.
            String RollName = lstRolesSokOchMatchaMatcha.getSelectedItem().toString(); //Assign the rollNamn be obtained from selecting a role name in the list, to
            //RollName in ECAFunctions. So we can use it in the method in the try-catch block.
            
            
            F.FillUpSkadespelareSomMatcharRollInSokOchMatchaMatcha(RollName);
            
            
        // [8.1.2]
        
        }
    }//GEN-LAST:event_chkMatchaMedLangdItemStateChanged

    private void chkMatchaMedHarfargItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_chkMatchaMedHarfargItemStateChanged
       if (lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll(); //Clear the list first before we run the rest
            //To prevent duplicates.
            String RollName = lstRolesSokOchMatchaMatcha.getSelectedItem().toString(); //Assign the rollNamn be obtained from selecting a role name in the list, to
            //RollName in ECAFunctions. So we can use it in the method in the try-catch block.
            
            
            F.FillUpSkadespelareSomMatcharRollInSokOchMatchaMatcha(RollName);
            
            
        // [8.1.3]
        
        }
    }//GEN-LAST:event_chkMatchaMedHarfargItemStateChanged

    private void chkMatchaMedKonItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_chkMatchaMedKonItemStateChanged
       if (lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll(); //Clear the list first before we run the rest
            //To prevent duplicates.
            String RollName = lstRolesSokOchMatchaMatcha.getSelectedItem().toString(); //Assign the rollNamn be obtained from selecting a role name in the list, to
            //RollName in ECAFunctions. So we can use it in the method in the try-catch block.
            
            
            F.FillUpSkadespelareSomMatcharRollInSokOchMatchaMatcha(RollName);
            
            // [8.1.4]
        
        
        }
    }//GEN-LAST:event_chkMatchaMedKonItemStateChanged

    private void chkMatchaMedAlderItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_chkMatchaMedAlderItemStateChanged
        if (lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll(); //Clear the list first before we run the rest
            //To prevent duplicates.
            String RollName = lstRolesSokOchMatchaMatcha.getSelectedItem().toString(); //Assign the rollNamn be obtained from selecting a role name in the list, to
            //RollName in ECAFunctions. So we can use it in the method in the try-catch block.
            
            
            F.FillUpSkadespelareSomMatcharRollInSokOchMatchaMatcha(RollName);
            
            // [8.1.5]
        
        
        }
    }//GEN-LAST:event_chkMatchaMedAlderItemStateChanged

    private void btnResetSokOchMatchaMatchaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnResetSokOchMatchaMatchaActionPerformed
        //This button will reset the entire Matcha tab's content in "Sök Och Matcha" to it's original state
        //
        lstRolesSokOchMatchaMatcha.removeAll();
        lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll();
        lstForeslagnaRollerSokOchMatchaMatcha.removeAll();
        lstRolesSokOchMatchaMatcha.setVisible(false);
        lstSkadespelareSomMatcharSokOchMatchaMatcha.setVisible(false);
        lstForeslagnaRollerSokOchMatchaMatcha.setVisible(false);
        chkMatchaMedAlder.setVisible(false);
        chkMatchaMedKon.setVisible(false);
        chkMatchaMedHarfarg.setVisible(false);
        chkMatchaMedLangd.setVisible(false);
        chkMatchaMedVikt.setVisible(false);
        
        label6.setVisible(false);
        label7.setVisible(false);
        label8.setVisible(false);
        label9.setVisible(false);
        btnResetSokOchMatchaMatcha.setVisible(false);
        label10.setVisible(false);
        chkMatchaMedAlder.setState(true);
        chkMatchaMedKon.setState(true);
        chkMatchaMedHarfarg.setState(true);
        chkMatchaMedLangd.setState(true);
        chkMatchaMedVikt.setState(true);
       
        jTxtArea.setVisible(false);
        jTxtForeslagenRollBeskrivningSokOchMatchaMatcha.setVisible(false);
        Color color = new Color(240, 240, 240);
        btnUpdateSkadePelareForslagenRoll.setBackground(color);
        btnUpdateSkadePelareForslagenRoll.setVisible(false);
        btnUpdateSkadePelareForslagenRoll.setText("Acceptera");

    }//GEN-LAST:event_btnResetSokOchMatchaMatchaActionPerformed

    private void lstSkadespelareSomMatcharSokOchMatchaMatchaMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lstSkadespelareSomMatcharSokOchMatchaMatchaMouseReleased
        if (lstSkadespelareSomMatcharSokOchMatchaMatcha.getSelectedItem() != null && !lstSkadespelareSomMatcharSokOchMatchaMatcha.getSelectedItem().isEmpty() && lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {

            String namn = lstSkadespelareSomMatcharSokOchMatchaMatcha.getSelectedItem().toString();
            String roll = lstRolesSokOchMatchaMatcha.getSelectedItem().toString();

            F.SkadespelareProfilForm.Show(namn, roll);

            //If the selected item is not null (contains no empty string), then do the code here.
            //We assign the String name with the string obtained from converting the selected item from the list
            //into a string using toString()
            //Then call the SkadespelareProfilForm.Show() method in order to display the Profile form.

        }
    }//GEN-LAST:event_lstSkadespelareSomMatcharSokOchMatchaMatchaMouseReleased

    private void lstRolesSokOchMatchaMatchaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_lstRolesSokOchMatchaMatchaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_lstRolesSokOchMatchaMatchaActionPerformed

    private void lstRolesSokOchMatchaMatchaMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lstRolesSokOchMatchaMatchaMouseReleased
        if (lstRolesSokOchMatchaMatcha.getSelectedItem() != null && !lstRolesSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll(); //Clear the list first before we run the rest
            //To prevent duplicates.
            String RollName = lstRolesSokOchMatchaMatcha.getSelectedItem().toString(); //Assign the rollNamn be obtained from selecting a role name in the list, to
            //RollName in ECAFunctions. So we can use it in the method in the try-catch block.
            label7.setVisible(true); //Shows the second arrow in the GUI
            label9.setVisible(true);
            label10.setVisible(true);
            lstForeslagnaRollerSokOchMatchaMatcha.setVisible(true);
            F.FillUpSkadespelareSomMatcharRollInSokOchMatchaMatcha(RollName);
            lstSkadespelareSomMatcharSokOchMatchaMatcha.setVisible(true);
            jTxtArea.setVisible(true);
        jTxtForeslagenRollBeskrivningSokOchMatchaMatcha.setVisible(true);
        btnUpdateSkadePelareForslagenRoll.setVisible(true);
        }
    }//GEN-LAST:event_lstRolesSokOchMatchaMatchaMouseReleased

    private void lstProductionsSokOchMatchaMatchaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_lstProductionsSokOchMatchaMatchaActionPerformed
            
    }//GEN-LAST:event_lstProductionsSokOchMatchaMatchaActionPerformed

    private void lstProductionsSokOchMatchaMatchaMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lstProductionsSokOchMatchaMatchaMouseReleased
        if (lstSkadespelareSomMatcharSokOchMatchaMatcha.getItemCount() > 0 || lstRolesSokOchMatchaMatcha.getItemCount() > 0) {
            lstRolesSokOchMatchaMatcha.removeAll();
        lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll();
        lstForeslagnaRollerSokOchMatchaMatcha.removeAll();
        lstRolesSokOchMatchaMatcha.setVisible(false);
        lstSkadespelareSomMatcharSokOchMatchaMatcha.setVisible(false);
        lstForeslagnaRollerSokOchMatchaMatcha.setVisible(false);
        chkMatchaMedAlder.setVisible(false);
        chkMatchaMedKon.setVisible(false);
        chkMatchaMedHarfarg.setVisible(false);
        chkMatchaMedLangd.setVisible(false);
        chkMatchaMedVikt.setVisible(false);
        
        label6.setVisible(false);
        label7.setVisible(false);
        label8.setVisible(false);
        label9.setVisible(false);
        btnResetSokOchMatchaMatcha.setVisible(false);
        label10.setVisible(false);
        chkMatchaMedAlder.setState(true);
        chkMatchaMedKon.setState(true);
        chkMatchaMedHarfarg.setState(true);
        chkMatchaMedLangd.setState(true);
        chkMatchaMedVikt.setState(true);
        
        jTxtArea.setVisible(false);
        jTxtForeslagenRollBeskrivningSokOchMatchaMatcha.setVisible(false);
        Color color = new Color(240, 240, 240);
        btnUpdateSkadePelareForslagenRoll.setBackground(color);
        btnUpdateSkadePelareForslagenRoll.setVisible(false);
        btnUpdateSkadePelareForslagenRoll.setText("Acceptera");
            
            
        }
        
        
        if (lstProductionsSokOchMatchaMatcha.getSelectedItem() != null && !lstProductionsSokOchMatchaMatcha.getSelectedItem().isEmpty()) {
            lstRolesSokOchMatchaMatcha.removeAll();
            String ProductionName = lstProductionsSokOchMatchaMatcha.getSelectedItem().toString();
            //System.out.println(F.ProductionName);
            chkMatchaMedAlder.setVisible(true); //Shows all the checkboxes that are used to filter a bit when searching actors with roll namn in the list.
            chkMatchaMedKon.setVisible(true);   //That is shown after the method FillUpRoleListInSokOchMatchaMatcha has been run.
            chkMatchaMedHarfarg.setVisible(true);
            chkMatchaMedLangd.setVisible(true);
            chkMatchaMedVikt.setVisible(true);
            
            label6.setVisible(true);
            label8.setVisible(true);
            btnResetSokOchMatchaMatcha.setVisible(true); //Display the reset button that resets Matcha in "Sök och Matcha"
            lstRolesSokOchMatchaMatcha.setVisible(true);
            F.FillUpRoleListInSokOchMatchaMatcha(ProductionName);
            lstRolesSokOchMatchaMatcha.setVisible(true);
            lstSkadespelareSomMatcharSokOchMatchaMatcha.removeAll();
            RepaintThisShit();
            
        }
    }//GEN-LAST:event_lstProductionsSokOchMatchaMatchaMouseReleased

    private void jTPanSkapaOchUppdateraSkadespelare1ComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_jTPanSkapaOchUppdateraSkadespelare1ComponentShown
        //Runs the method FillSokOchMatcha in ECAFunctions
        F.FillSokOchMatcha();
    }//GEN-LAST:event_jTPanSkapaOchUppdateraSkadespelare1ComponentShown

    private void btnBackToSearchEngineActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBackToSearchEngineActionPerformed
        F.ResetSokOchMatchaSok(); //Runs the method in ECAFunctions
        invalidate();
        validate();

    }//GEN-LAST:event_btnBackToSearchEngineActionPerformed

    private void BackToSearchResultActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BackToSearchResultActionPerformed
        //Returns to the Search Results, and clears + hides all the other controls you see
        //when you select a name from the Result list.
        listSuggestedForTheseRoles.removeAll();
        jPanelSearchEngine.setVisible(false);
        label3.setVisible(false);
        label2.setVisible(false);
        SkadespelareFormagar.setVisible(false);
        BackToSearchResult.setVisible(false);
        NameAndDescriptionSkadespelare.setVisible(false);
        EarlierRoles.setVisible(false);
        label1.setVisible(false);
        label4.setVisible(false);
        jScrollPane1.setVisible(false);
        listSuggestedForTheseRoles.setVisible(false);
        DynamicLabelSearchAndEarlierProd.setText("Sök resultat");
        SkadespelareFormagar.removeAll();
        EarlierRoles.removeAll();
        NameAndDescriptionSkadespelare.setText("");
        F.RefillSearchResultWithTempStorage();
        invalidate();
        validate();

    }//GEN-LAST:event_BackToSearchResultActionPerformed

    private void SearchResultAndEarlierProductionsSkadespelareActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SearchResultAndEarlierProductionsSkadespelareActionPerformed

    }//GEN-LAST:event_SearchResultAndEarlierProductionsSkadespelareActionPerformed

    private void SearchResultAndEarlierProductionsSkadespelareMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SearchResultAndEarlierProductionsSkadespelareMousePressed
        //Ignore this event.
    }//GEN-LAST:event_SearchResultAndEarlierProductionsSkadespelareMousePressed

    private void SearchResultAndEarlierProductionsSkadespelareMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SearchResultAndEarlierProductionsSkadespelareMouseClicked

    }//GEN-LAST:event_SearchResultAndEarlierProductionsSkadespelareMouseClicked

    private void SearchResultAndEarlierProductionsSkadespelareMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SearchResultAndEarlierProductionsSkadespelareMouseReleased
        //När man trycker på ett namn i resultatlistan, så ska detta ske.
        if (DynamicLabelSearchAndEarlierProd.getText().equals("Tidigare Produktioner")) {

            //Ignore this If code, but pay attention to else if
        }
        else if (SearchResultAndEarlierProductionsSkadespelare.getSelectedItem() != null && !SearchResultAndEarlierProductionsSkadespelare.getSelectedItem().toString().equals(""))
        {
            
            String ActorName = SearchResultAndEarlierProductionsSkadespelare.getSelectedItem().toString();
            F.FillUpFormagarForActor(ActorName);
            F.getActorsAttributes(ActorName);
            jPanelSearchResultAndMatchRoles.setVisible(true);
            label3.setVisible(true);
            label2.setVisible(true);
            SkadespelareFormagar.setVisible(true);
            BackToSearchResult.setVisible(true);
            NameAndDescriptionSkadespelare.setVisible(true);
            DynamicLabelSearchAndEarlierProd.setText("Tidigare Produktioner");
            EarlierRoles.setVisible(true);
            EarlierRoles.removeAll();
            label1.setVisible(true);
            label4.setVisible(true);
            jScrollPane1.setVisible(true);
            listSuggestedForTheseRoles.setVisible(true);

            F.FillUpEarlierRoller(ActorName);
            F.FillUpEarlierProductionsList(ActorName);
            
            F.FillUpForeslagnaRoller(ActorName);

            invalidate();
            validate();
            repaint();
        }
        else
        {}
    }//GEN-LAST:event_SearchResultAndEarlierProductionsSkadespelareMouseReleased

    private void jTxtSokOchMatchaSokAlder2KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSokOchMatchaSokAlder2KeyReleased
       F.SokValidateInput();
    }//GEN-LAST:event_jTxtSokOchMatchaSokAlder2KeyReleased

    private void jTxtSokOchMatchaSokVikt2KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSokOchMatchaSokVikt2KeyReleased
       F.SokValidateInput();
    }//GEN-LAST:event_jTxtSokOchMatchaSokVikt2KeyReleased

    private void jTxtSokOchMatchaSokLangd2KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSokOchMatchaSokLangd2KeyReleased
        F.SokValidateInput();
    }//GEN-LAST:event_jTxtSokOchMatchaSokLangd2KeyReleased

    private void jTxtSokOchMatchaSokVikt1KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSokOchMatchaSokVikt1KeyReleased
        F.SokValidateInput();
    }//GEN-LAST:event_jTxtSokOchMatchaSokVikt1KeyReleased

    private void jTxtSokOchMatchaSokLangd1KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSokOchMatchaSokLangd1KeyReleased
        F.SokValidateInput();
    }//GEN-LAST:event_jTxtSokOchMatchaSokLangd1KeyReleased

    private void jTxtSokOchMatchaSokAlder1KeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTxtSokOchMatchaSokAlder1KeyReleased
        F.SokValidateInput();
    }//GEN-LAST:event_jTxtSokOchMatchaSokAlder1KeyReleased

    private void jCmbBoxSokOchMatchaSokOgonfarg1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCmbBoxSokOchMatchaSokOgonfarg1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCmbBoxSokOchMatchaSokOgonfarg1ActionPerformed

    private void jCmbBoxSokOchMatchaSokKon1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCmbBoxSokOchMatchaSokKon1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCmbBoxSokOchMatchaSokKon1ActionPerformed

    private void jBtnSokOchMatchaSokActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSokOchMatchaSokActionPerformed
        //Peforms a search when you press the button mentioned in the event code above this comment.
        if (!jLblSokOchMatchaSokErrorLabel.getText().equals("<html>Det har uppstått fel, vänligen <br>kontrollera så att allting stämmer.</html>")) {
        jPanelSearchEngine.setVisible(false);
        jPanelSearchResultAndMatchRoles.setVisible(true);
        SearchResultAndEarlierProductionsSkadespelare.removeAll();
        DynamicLabelSearchAndEarlierProd.setText("Sök Resultat"); //Reuses the label and renames it to reflect that it's the searchresults it's displaying.
        BackToSearchResult.setVisible(false);
        btnBackToSearchEngine.setVisible(true);
        F.SokSkadespelare();
        DynamicLabelSearchAndEarlierProd.setVisible(true);
        SearchResultAndEarlierProductionsSkadespelare.setVisible(true);
        invalidate();
        validate();
        }
    }//GEN-LAST:event_jBtnSokOchMatchaSokActionPerformed

    private void jButtonSokOchMatchaSokResetAllFormsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonSokOchMatchaSokResetAllFormsActionPerformed
        //Resets the entire Search forms.
        F.ResetSokOchMatchaSok();
        jLblSokOchMatchaSokErrorLabel.setText("");
        jLblSokOchMatchaSokAlder1.setForeground(Color.BLACK);
        jLblSokOchMatchaSokLangd1.setForeground(Color.BLACK);
        jLblSokOchMatchaSokVikt1.setForeground(Color.BLACK);
    }//GEN-LAST:event_jButtonSokOchMatchaSokResetAllFormsActionPerformed

    private void jButtonSokOchMatchaSokIncludeFormagaToSearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonSokOchMatchaSokIncludeFormagaToSearchActionPerformed
        //Runs the method MoveFormagaFromListToList in ECAFunctions
        F.MoveFromListToList(list1,list2);
    }//GEN-LAST:event_jButtonSokOchMatchaSokIncludeFormagaToSearchActionPerformed

    private void jButtonSokOchMatchaRemoveFormagaFromFilterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonSokOchMatchaRemoveFormagaFromFilterActionPerformed
        F.MoveFromListToList(list2,list1);
    }//GEN-LAST:event_jButtonSokOchMatchaRemoveFormagaFromFilterActionPerformed

    private void jBtnSkapaOchUppdateraLaggTillFormagaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraLaggTillFormagaActionPerformed
        F.ClickSkapaOchUppdateraSkadespelareFormagaLaggTill();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraLaggTillFormagaActionPerformed

    private void jBtnSkapaOchUppdateraTaBortFormagaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraTaBortFormagaActionPerformed
        F.ClickSkapaOchUppdateraSkadespelareFormagaTaBort();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraTaBortFormagaActionPerformed

    private void jBtnSkapaOchUppdateraRollerLaggTillFormagaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraRollerLaggTillFormagaActionPerformed
        F.ClickSkapaOchUppdateraRollerFormagaLaggTill();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraRollerLaggTillFormagaActionPerformed

    private void jBtnSkapaOchUppdateraRollerTaBortFormagaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnSkapaOchUppdateraRollerTaBortFormagaActionPerformed
        F.ClickSkapaOchUppdateraRollerFormagaTaBort();
    }//GEN-LAST:event_jBtnSkapaOchUppdateraRollerTaBortFormagaActionPerformed

    private void jLstSkapaOchUppdateraRollListaSkadespelareItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraRollListaSkadespelareItemStateChanged
        //jLstSkapaOchUppdateraRollerListaSkadespelareOtillrackligaFormagor.select(-1);
    }//GEN-LAST:event_jLstSkapaOchUppdateraRollListaSkadespelareItemStateChanged

    private void jLstSkapaOchUppdateraRollListaSkadespelareMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLstSkapaOchUppdateraRollListaSkadespelareMousePressed
        //jLstSkapaOchUppdateraRollerListaSkadespelareOtillrackligaFormagor.select(-1);
    }//GEN-LAST:event_jLstSkapaOchUppdateraRollListaSkadespelareMousePressed

    private void btnUpdateSkadePelareForslagenRollActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnUpdateSkadePelareForslagenRollActionPerformed
       F.updateSkadepelareForslagenRoll();
       // [1.1.1]
    }//GEN-LAST:event_btnUpdateSkadePelareForslagenRollActionPerformed

    private void ProduktionTextValidation(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_ProduktionTextValidation
        F.ProduktionValidateInput();
    }//GEN-LAST:event_ProduktionTextValidation
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            javax.swing.UIManager.LookAndFeelInfo[] installedLookAndFeels = javax.swing.UIManager.getInstalledLookAndFeels();
            for (int idx = 0; idx < installedLookAndFeels.length; idx++) {
                if ("Nimbus".equals(installedLookAndFeels[idx].getName())) {
                    javax.swing.UIManager.setLookAndFeel(installedLookAndFeels[idx].getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(ECA.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                try {
                    new ECA().setVisible(true); //Show window.
                } catch (InformatikException ex) {
                    Logger.getLogger(ECA.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    protected java.awt.Button BackToSearchResult;
    protected java.awt.Label DynamicLabelSearchAndEarlierProd;
    protected java.awt.List EarlierRoles;
    private javax.swing.JTabbedPane Menu;
    protected javax.swing.JTextArea NameAndDescriptionSkadespelare;
    protected java.awt.List SearchResultAndEarlierProductionsSkadespelare;
    protected java.awt.List SkadespelareFormagar;
    protected java.awt.Button btnBackToSearchEngine;
    protected javax.swing.JButton btnResetSokOchMatchaMatcha;
    protected javax.swing.JButton btnUpdateSkadePelareForslagenRoll;
    private javax.swing.ButtonGroup buttonGroup1;
    protected java.awt.Checkbox chkMatchaMedAlder;
    protected java.awt.Checkbox chkMatchaMedHarfarg;
    protected java.awt.Checkbox chkMatchaMedKon;
    protected java.awt.Checkbox chkMatchaMedLangd;
    protected java.awt.Checkbox chkMatchaMedVikt;
    private javax.swing.Box.Filler filler1;
    private javax.swing.Box.Filler filler2;
    private javax.swing.Box.Filler filler3;
    private javax.swing.Box.Filler filler4;
    private javax.swing.Box.Filler filler5;
    private javax.swing.Box.Filler filler6;
    private javax.swing.Box.Filler filler7;
    protected javax.swing.JButton jBtnSkapaOchUppdateraAgentFirst;
    private javax.swing.JButton jBtnSkapaOchUppdateraAgentRensaFalt;
    protected javax.swing.JButton jBtnSkapaOchUppdateraAgentSecond;
    protected javax.swing.JButton jBtnSkapaOchUppdateraFormagaFirst;
    private javax.swing.JButton jBtnSkapaOchUppdateraFormagaRensaFalt;
    protected javax.swing.JButton jBtnSkapaOchUppdateraFormagaSecond;
    private javax.swing.JButton jBtnSkapaOchUppdateraLaggTillFormaga;
    protected javax.swing.JButton jBtnSkapaOchUppdateraProduktionFirst;
    private javax.swing.JButton jBtnSkapaOchUppdateraProduktionRensaFalt;
    protected javax.swing.JButton jBtnSkapaOchUppdateraProduktionSecond;
    protected javax.swing.JButton jBtnSkapaOchUppdateraRollFirst;
    private javax.swing.JButton jBtnSkapaOchUppdateraRollRensaFalt;
    protected javax.swing.JButton jBtnSkapaOchUppdateraRollSecond;
    private javax.swing.JButton jBtnSkapaOchUppdateraRollerLaggTillFormaga;
    private javax.swing.JButton jBtnSkapaOchUppdateraRollerTaBortFormaga;
    protected javax.swing.JButton jBtnSkapaOchUppdateraSkadespelareFirst;
    private javax.swing.JButton jBtnSkapaOchUppdateraSkadespelareRensaFalt;
    protected javax.swing.JButton jBtnSkapaOchUppdateraSkadespelareSecond;
    private javax.swing.JButton jBtnSkapaOchUppdateraTaBortFormaga;
    protected javax.swing.JButton jBtnSokOchMatchaSok;
    protected javax.swing.JButton jButtonSokOchMatchaRemoveFormagaFromFilter;
    protected javax.swing.JButton jButtonSokOchMatchaSokIncludeFormagaToSearch;
    protected javax.swing.JButton jButtonSokOchMatchaSokResetAllForms;
    protected javax.swing.JComboBox jCmbBoxSkapaOchUppdateraRollHarfarg;
    protected javax.swing.JComboBox jCmbBoxSkapaOchUppdateraRollKon;
    protected javax.swing.JComboBox jCmbBoxSkapaOchUppdateraSkadespelareHarfarg;
    protected javax.swing.JComboBox jCmbBoxSkapaOchUppdateraSkadespelareKon;
    protected javax.swing.JComboBox jCmbBoxSkapaOchUppdateraSkadespelareOgonfarg;
    protected javax.swing.JComboBox jCmbBoxSokOchMatchaSokHarfarg1;
    protected javax.swing.JComboBox jCmbBoxSokOchMatchaSokKon1;
    protected javax.swing.JComboBox jCmbBoxSokOchMatchaSokOgonfarg1;
    private javax.swing.JInternalFrame jInternalFrame1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    protected javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel56;
    protected javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    protected javax.swing.JLayeredPane jLayeredPane2;
    private java.awt.Label jLblProduktion;
    private java.awt.Label jLblSkadespelare;
    private javax.swing.JLabel jLblSkadespelareTillRollMatchMessage2;
    protected javax.swing.JLabel jLblSkapaOchUppdateraAgentAID;
    protected javax.swing.JLabel jLblSkapaOchUppdateraAgentError;
    protected javax.swing.JLabel jLblSkapaOchUppdateraAgentMail;
    protected javax.swing.JLabel jLblSkapaOchUppdateraAgentNamn;
    protected javax.swing.JLabel jLblSkapaOchUppdateraAgentTelefon;
    protected javax.swing.JLabel jLblSkapaOchUppdateraFormagaBeskrivning;
    protected javax.swing.JLabel jLblSkapaOchUppdateraFormagaError;
    private javax.swing.JLabel jLblSkapaOchUppdateraFormagaFID;
    protected javax.swing.JLabel jLblSkapaOchUppdateraFormagaNamn;
    protected javax.swing.JLabel jLblSkapaOchUppdateraProduktionError;
    protected javax.swing.JLabel jLblSkapaOchUppdateraProduktionGenre;
    protected javax.swing.JLabel jLblSkapaOchUppdateraProduktionGenre1;
    protected javax.swing.JLabel jLblSkapaOchUppdateraProduktionInspelningsSlut;
    protected javax.swing.JLabel jLblSkapaOchUppdateraProduktionInspelningsStart;
    protected javax.swing.JLabel jLblSkapaOchUppdateraProduktionTitel;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollAlder;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollBeskrivning;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollError;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollHarfarg;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollKon;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollLangd;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollNamn;
    private javax.swing.JLabel jLblSkapaOchUppdateraRollRID;
    protected javax.swing.JLabel jLblSkapaOchUppdateraRollVikt;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareAlder;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareError;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareHarfarg;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareKon;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareLangd;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareListaAgent;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareNamn;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareOgonfarg;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareShowAgent;
    protected javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareVikt;
    private javax.swing.JLabel jLblSkapaOchUppdateraSkadespelareVikt3;
    protected javax.swing.JLabel jLblSokOchMatchaSokAlder1;
    protected javax.swing.JLabel jLblSokOchMatchaSokAlder2;
    protected javax.swing.JLabel jLblSokOchMatchaSokAlder3;
    protected javax.swing.JLabel jLblSokOchMatchaSokAlder4;
    protected javax.swing.JLabel jLblSokOchMatchaSokErrorLabel;
    protected javax.swing.JLabel jLblSokOchMatchaSokHarfarg1;
    protected javax.swing.JLabel jLblSokOchMatchaSokKon;
    protected javax.swing.JLabel jLblSokOchMatchaSokLangd1;
    protected javax.swing.JLabel jLblSokOchMatchaSokOgonfarg1;
    protected javax.swing.JLabel jLblSokOchMatchaSokSokTerm;
    protected javax.swing.JLabel jLblSokOchMatchaSokVikt1;
    protected javax.swing.JLabel jLblSokOchMatchaSokVikt3;
    private java.awt.Label jLblTillsattSkadespelare;
    private java.awt.Label jLblTillsattSkadespelare1;
    private java.awt.Label jLblTillsattSkadespelare2;
    private java.awt.Label jLblTillsattSkadespelare3;
    protected java.awt.List jLstSkapaOchUppdateraAgentLista;
    protected java.awt.List jLstSkapaOchUppdateraFormagaLista;
    protected java.awt.List jLstSkapaOchUppdateraProduktionLista;
    protected java.awt.List jLstSkapaOchUppdateraRollLista;
    protected java.awt.List jLstSkapaOchUppdateraRollListaProduktion;
    protected java.awt.List jLstSkapaOchUppdateraRollListaSkadespelare;
    protected java.awt.List jLstSkapaOchUppdateraRollerListaIckeTillagdaFormagor;
    protected java.awt.List jLstSkapaOchUppdateraRollerListaTillagdaFormagor;
    protected java.awt.List jLstSkapaOchUppdateraSkadespelareLista;
    protected java.awt.List jLstSkapaOchUppdateraSkadespelareListaAgent;
    protected java.awt.List jLstSkapaOchUppdateraSkadespelareListaFormagor;
    protected java.awt.List jLstSkapaOchUppdateraSkadespelareListaFormagorHar;
    private javax.swing.JPanel jPanStartsida;
    private javax.swing.JPanel jPanTillsattSkadespelare;
    private javax.swing.JPanel jPanTillsattSkadespelare1;
    protected javax.swing.JPanel jPanelSearchEngine;
    protected javax.swing.JPanel jPanelSearchResultAndMatchRoles;
    protected javax.swing.JScrollPane jScrollPane1;
    protected javax.swing.JScrollPane jScrollPane11;
    protected javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JTabbedPane jTPanSkapaOchUppdatera;
    private javax.swing.JPanel jTPanSkapaOchUppdateraAgenter;
    private javax.swing.JPanel jTPanSkapaOchUppdateraAgenter1;
    private javax.swing.JPanel jTPanSkapaOchUppdateraFormagor;
    private javax.swing.JPanel jTPanSkapaOchUppdateraProduktioner;
    private javax.swing.JPanel jTPanSkapaOchUppdateraRoller;
    private javax.swing.JPanel jTPanSkapaOchUppdateraSkadespelare;
    private javax.swing.JPanel jTPanSkapaOchUppdateraSkadespelare1;
    private javax.swing.JTabbedPane jTPanSokOchMatcha;
    protected javax.swing.JTextArea jTxtArea;
    protected javax.swing.JTextField jTxtFieldSokOchMatchaSokTerm;
    protected javax.swing.JScrollPane jTxtForeslagenRollBeskrivningSokOchMatchaMatcha;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraAgentAID;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraAgentMail;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraAgentNamn;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraAgentTelefon;
    protected javax.swing.JTextArea jTxtSkapaOchUppdateraFormagaBeskrivning;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraFormagaFID;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraFormagaNamn;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraProduktionGenre;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraProduktionInspelningsSlut;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraProduktionInspelningsStart;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraProduktionPID;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraProduktionTitel;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraRollAlder;
    protected javax.swing.JTextArea jTxtSkapaOchUppdateraRollBeskrivning;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraRollLangd;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraRollNamn;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraRollRID;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraRollVikt;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraSkadespelareAlder;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraSkadespelareLangd;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraSkadespelareNamn;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraSkadespelareShowAgent;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraSkadespelareShowSID;
    protected javax.swing.JTextField jTxtSkapaOchUppdateraSkadespelareVikt;
    protected javax.swing.JTextField jTxtSokOchMatchaSokAlder1;
    protected javax.swing.JTextField jTxtSokOchMatchaSokAlder2;
    protected javax.swing.JTextField jTxtSokOchMatchaSokLangd1;
    protected javax.swing.JTextField jTxtSokOchMatchaSokLangd2;
    protected javax.swing.JTextField jTxtSokOchMatchaSokVikt1;
    protected javax.swing.JTextField jTxtSokOchMatchaSokVikt2;
    private java.awt.Label jlblSkadespelareTillRoll;
    protected java.awt.Label label1;
    protected java.awt.Label label10;
    private java.awt.Label label11;
    private java.awt.Label label12;
    protected java.awt.Label label2;
    protected java.awt.Label label3;
    protected java.awt.Label label4;
    protected java.awt.Label label5;
    protected java.awt.Label label6;
    protected java.awt.Label label7;
    protected java.awt.Label label8;
    protected java.awt.Label label9;
    protected java.awt.List list1;
    protected java.awt.List list2;
    protected java.awt.List listSuggestedForTheseRoles;
    protected java.awt.List lstForeslagnaRollerSokOchMatchaMatcha;
    protected java.awt.List lstProductionsSokOchMatchaMatcha;
    protected java.awt.List lstRolesSokOchMatchaMatcha;
    protected java.awt.List lstSkadespelareSomMatcharSokOchMatchaMatcha;
    // End of variables declaration//GEN-END:variables
}
